Function at 0x47b7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x562e48
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], vtable.CLogLine.0
mov dword [esp + 0x44], esi
cmp dword [esp + 0x60], esi
je 0x47bc3a
cmp dword [ebx + 0x84], esi
je 0x47b843
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push esi
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
mov edx, dword [0x5e3e3c]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, ebx
call fcn.0047a860
jmp 0x47b9bf
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
push eax
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call fcn.00473d30
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.00473d30
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
cmp edi, esi
je 0x47b9d9
test edi, edi
jl 0x47b991
cmp edi, dword [ebx + 0x16c]
jge 0x47b991
mov eax, dword [ebx + 0x168]
lea edx, [edi + edi*2]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
add ecx, edx
sub eax, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
call fcn.00474780
inc edi
cmp edi, esi
jge 0x47b95d
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
mov dword [esp + 0x54], eax
jmp 0x47b8f4
mov eax, dword [esp + 0x54]
test eax, eax
jl 0x47b991
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 0x16c]
jge 0x47b991
mov ebx, dword [esp + 0x30]
mov ecx, eax
mov esi, dword [ecx + 0x168]
add esi, dword [esp + 0x54]
test ebx, ebx
jl 0x47b991
push 0xffffffffffffffff
lea edx, [ebx + 1]
push edx
lea ecx, [esp + 0x30]
call fcn.00471990
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
add dword [esp + 0x54], 0xc
lea eax, [ebx + ebx*2]
lea eax, [ecx + eax*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 8]
inc edi
cmp edi, dword [esp + 0x5c]
mov dword [eax + 8], edx
jl 0x47b8f0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x14]
test esi, esi
jl 0x47b991
cmp esi, dword [ebx + 0x16c]
jge 0x47b991
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x168]
lea eax, [esi + esi*2]
mov edi, dword [edx + eax*4]
mov ebx, dword [edx + eax*4 + 4]
lea eax, [edx + eax*4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov esi, eax
test eax, eax
jge 0x47b996
call fcn.005078a4
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x30]
call fcn.00471990
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x58]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + 8], ecx
xor esi, esi
mov eax, dword [esp + 0x30]
cmp eax, 2
mov edi, dword [esp + 0x2c]
jge 0x47b9e0
cmp edi, esi
je 0x47b9d9
push edi
call fcn.004ff267
add esp, 4
xor eax, eax
jmp 0x47bc0d
cmp dword [ebx + 0x78], esi
je 0x47baa4
cmp dword [ebx + 0x7c], esi
je 0x47baa4
cmp eax, esi
mov dword [esp + 0x5c], 1
jle 0x47b991
mov ecx, dword [edi + 4]
cmp ecx, esi
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x24], edx
jle 0x47ba2a
push esi
push esi
push eax
mov ecx, ebx
call fcn.00478da0
cmp eax, esi
jle 0x47ba26
cmp eax, dword [ebx + 0xe0]
jl 0x47ba26
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x30], esi
mov dword [esp + 0x60], esi
jle 0x47bbfe
mov dword [esp + 0x54], edi
lea esp, [esp]
mov eax, dword [esp + 0x60]
test eax, eax
jl 0x47b991
cmp eax, dword [esp + 0x30]
jge 0x47b991
cmp dword [esp + 0x5c], 0
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
je 0x47bb7f
test ebx, ebx
jne 0x47baaa
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push esi
call fcn.00478da0
test eax, eax
jle 0x47ba9b
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0xe0]
jl 0x47ba9b
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x47bb7f
mov dword [esp + 0x5c], esi
jmp 0x47ba2a
cmp dword [esp + 0x18], 0
jle 0x47bb7f
mov eax, dword [esp + 0x18]
mov ebx, dword [0x5c3198]
cdq
idiv ebx
mov edx, dword [esp + 0x14]
xor edi, edi
mov ecx, eax
cmp dword [edx + 0x88], edi
jne 0x47bb14
mov eax, edx
mov esi, dword [eax + 0x108]
xor eax, eax
cdq
idiv esi
mov eax, esi
sub eax, edx
cdq
idiv ebx
cmp ecx, eax
jl 0x47bb14
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x10c]
sub ecx, eax
mov eax, ecx
cdq
idiv esi
mov edi, 1
imul esi, eax
sub ecx, esi
test eax, eax
jle 0x47bb0c
lea edi, [eax + 1]
test ecx, ecx
jle 0x47bb1a
add edi, ecx
jmp 0x47bb1a
test ecx, ecx
jle 0x47bb1a
mov edi, ecx
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff272
mov esi, eax
mov eax, dword [esp + 0x1c]
cdq
idiv dword [0x5c3198]
mov ecx, dword [esp + 0x18]
add esp, 4
push 0
push eax
push esi
call fcn.00470780
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47bb68
lea ecx, [edi + edi]
push ecx
lea edx, [eax + ebp*2]
push esi
push edx
call fcn.005402a0
add esp, 0xc
push esi
call fcn.004ff267
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 4
add ebp, edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47bbb4
mov edx, dword [esp + 0x14]
lea eax, [edi + edi]
push eax
mov eax, dword [edx + 0x31c]
lea ecx, [esi + esi*8]
mov ecx, dword [eax + ecx*4 + 8]
mov eax, dword [esp + 0x50]
lea edx, [ecx + ebx*2]
push edx
lea ecx, [eax + ebp*2]
push ecx
call fcn.005402a0
mov eax, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
lea ecx, [esi - 1]
add ebp, edi
cmp edx, ecx
jge 0x47bbe6
test eax, eax
je 0x47bc2e
mov ecx, dword [esp + 0x68]
cmp ecx, 1
jne 0x47bc23
mov ecx, 0xd
mov word [eax + ebp*2], cx
inc ebp
mov ecx, 0xa
mov word [eax + ebp*2], cx
inc ebp
add dword [esp + 0x54], 0xc
inc edx
cmp edx, esi
mov dword [esp + 0x60], edx
jl 0x47ba40
mov edi, dword [esp + 0x2c]
xor esi, esi
cmp edi, esi
je 0x47bc0b
push edi
call fcn.004ff267
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x20
test ecx, ecx
je 0x47bbdc
mov ecx, 0xd
jmp 0x47bbe1
cmp dword [esp + 0x68], 1
jne 0x47bbe5
add ebp, 2
jmp 0x47bbe6
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
jg 0x47bc0b
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
mov dword [esp + 0x68], eax
jmp 0x47bc60
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x68]
mov eax, dword [eax + 0x31c]
mov edx, dword [esp + 0x50]
mov edi, dword [eax + esi + 8]
add eax, esi
mov esi, dword [eax]
dec esi
cmp ecx, dword [esp + 0x54]
jne 0x47bc88
lea edi, [edi + edx*2]
sub esi, edx
jmp 0x47bc92
cmp ecx, dword [esp + 0x5c]
jne 0x47bc92
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x64], 0
je 0x47bce0
test esi, esi
jle 0x47bcbc
lea ecx, [ecx]
movzx ecx, word [edi]
push ecx
call fcn.005419cf
add esp, 4
test eax, eax
je 0x47bcdc
dec esi
add edi, 2
test esi, esi
jg 0x47bca0
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x54]
jle 0x47bd29
test ebx, ebx
je 0x47bd26
mov eax, 0xd
mov word [ebx + ebp*2], ax
inc ebp
mov edx, 0xa
mov word [ebx + ebp*2], dx
inc ebp
jmp 0x47bd29
mov ecx, dword [esp + 0x60]
test esi, esi
jle 0x47bcbc
test ebx, ebx
jne 0x47bced
inc ebp
add ebp, esi
jmp 0x47bd4d
test ebp, ebp
jle 0x47bd0d
movzx edx, word [ebx + ebp*2 - 2]
push edx
call fcn.005419cf
add esp, 4
test eax, eax
jne 0x47bd0d
mov eax, 0x20
mov word [ebx + ebp*2], ax
inc ebp
lea ecx, [esi + esi]
push ecx
lea edx, [ebx + ebp*2]
push edi
push edx
call fcn.005402a0
mov ecx, dword [esp + 0x6c]
add esp, 0xc
add ebp, esi
jmp 0x47bd4d
add ebp, 2
cmp dword [esp + 0x64], 0
je 0x47bd4d
test ebx, ebx
je 0x47bd4a
mov eax, 0xd
mov word [ebx + ebp*2], ax
inc ebp
mov edx, 0xa
mov word [ebx + ebp*2], dx
inc ebp
jmp 0x47bd4d
add ebp, 2
add dword [esp + 0x68], 0x24
inc ecx
cmp ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
jle 0x47bc60
jmp 0x47bc0b