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

Disassembly:
push 0xffffffffffffffff
push 0x562bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
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 edi, edi
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 + 0x64], esi
je 0x47b272
cmp dword [ebx + 0x84], esi
je 0x47ae73
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push esi
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
mov edx, dword [0x5e3ebc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov ecx, ebx
call fcn.00479e90
jmp 0x47afef
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.00472d20
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.00472d20
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
cmp ebp, esi
je 0x47b009
test ebp, ebp
jl 0x47afc1
cmp ebp, dword [ebx + 0x184]
jge 0x47afc1
mov eax, dword [ebx + 0x180]
lea edx, [ebp + ebp*2]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x54]
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.004737b0
inc ebp
cmp ebp, esi
jge 0x47af8d
lea eax, [ebp + ebp*2]
add eax, eax
add eax, eax
mov dword [esp + 0x58], eax
jmp 0x47af24
mov eax, dword [esp + 0x58]
test eax, eax
jl 0x47afc1
mov eax, dword [esp + 0x14]
cmp ebp, dword [eax + 0x184]
jge 0x47afc1
mov ebx, dword [esp + 0x30]
mov ecx, eax
mov esi, dword [ecx + 0x180]
add esi, dword [esp + 0x58]
test ebx, ebx
jl 0x47afc1
push 0xffffffffffffffff
lea edx, [ebx + 1]
push edx
lea ecx, [esp + 0x30]
call fcn.004706a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
add dword [esp + 0x58], 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 ebp
cmp ebp, dword [esp + 0x60]
mov dword [eax + 8], edx
jl 0x47af20
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x14]
test esi, esi
jl 0x47afc1
cmp esi, dword [ebx + 0x184]
jge 0x47afc1
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x180]
lea eax, [esi + esi*2]
mov ebp, 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 0x47afc6
call fcn.00507f95
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x30]
call fcn.004706a0
mov edx, dword [esp + 0x2c]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ebp
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 ebp, dword [esp + 0x2c]
jge 0x47b010
cmp ebp, esi
je 0x47b009
push ebp
call fcn.004ff96a
add esp, 4
xor eax, eax
jmp 0x47b245
cmp dword [ebx + 0x78], esi
je 0x47b0d4
cmp dword [ebx + 0x7c], esi
je 0x47b0d4
cmp eax, esi
mov dword [esp + 0x60], 1
jle 0x47afc1
mov ecx, dword [ebp + 4]
cmp ecx, esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov dword [esp + 0x24], edx
jle 0x47b05b
push esi
push esi
push eax
mov ecx, ebx
call fcn.00478330
cmp eax, esi
jle 0x47b057
cmp eax, dword [ebx + 0xe0]
jl 0x47b057
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x30], esi
mov dword [esp + 0x64], esi
jle 0x47b236
mov dword [esp + 0x58], ebp
lea ecx, [ecx]
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x47afc1
cmp eax, dword [esp + 0x30]
jge 0x47afc1
cmp dword [esp + 0x60], 0
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
je 0x47b1b3
test ebx, ebx
jne 0x47b0da
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push esi
call fcn.00478330
test eax, eax
jle 0x47b0cb
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0xe0]
jl 0x47b0cb
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x47b1b3
mov dword [esp + 0x60], esi
jmp 0x47b05b
cmp dword [esp + 0x18], 0
jle 0x47b1b3
mov eax, dword [esp + 0x18]
mov ebx, dword [0x5c3218]
cdq
idiv ebx
mov edx, dword [esp + 0x14]
xor ebp, ebp
mov ecx, eax
cmp dword [edx + 0x88], ebp
jne 0x47b144
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 0x47b144
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 0x10c]
sub ecx, eax
mov eax, ecx
cdq
idiv esi
mov ebp, 1
imul esi, eax
sub ecx, esi
test eax, eax
jle 0x47b13c
lea ebp, [eax + 1]
test ecx, ecx
jle 0x47b14a
add ebp, ecx
jmp 0x47b14a
test ecx, ecx
jle 0x47b14a
mov ebp, ecx
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ff95f
mov esi, eax
mov eax, dword [esp + 0x1c]
cdq
idiv dword [0x5c3218]
mov ecx, dword [esp + 0x18]
add esp, 4
push 0
push eax
push esi
call fcn.0046f200
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47b19c
mov ecx, dword [esp + 0x50]
push ebp
push esi
sub ecx, edi
push ecx
lea edx, [eax + edi*2]
push edx
call fcn.0044c530
add esp, 0x10
push esi
call fcn.004ff96a
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
add esp, 4
add edi, ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47b1ec
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x334]
lea eax, [esi + esi*8]
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [esp + 0x50]
lea ecx, [eax + ebx*2]
mov eax, dword [esp + 0x4c]
push ebp
push ecx
sub edx, edi
push edx
lea ecx, [eax + edi*2]
push ecx
call fcn.0044c530
mov eax, dword [esp + 0x5c]
add esp, 0x10
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
lea ecx, [esi - 1]
add edi, ebp
cmp edx, ecx
jge 0x47b21e
test eax, eax
je 0x47b266
mov ecx, dword [esp + 0x6c]
cmp ecx, 1
jne 0x47b25b
mov ecx, 0xd
mov word [eax + edi*2], cx
inc edi
mov ecx, 0xa
mov word [eax + edi*2], cx
inc edi
add dword [esp + 0x58], 0xc
inc edx
cmp edx, esi
mov dword [esp + 0x64], edx
jl 0x47b070
mov ebp, dword [esp + 0x2c]
xor esi, esi
cmp ebp, esi
je 0x47b243
push ebp
call fcn.004ff96a
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x24
test ecx, ecx
je 0x47b214
mov ecx, 0xd
jmp 0x47b219
cmp dword [esp + 0x6c], 1
jne 0x47b21d
add edi, 2
jmp 0x47b21e
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
jg 0x47b243
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x64]
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
mov dword [esp + 0x6c], eax
jmp 0x47b2a0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + 0x334]
mov edx, dword [esp + 0x54]
mov ebp, dword [eax + esi + 8]
add eax, esi
mov esi, dword [eax]
dec esi
cmp ecx, dword [esp + 0x58]
jne 0x47b2c9
lea ebp, [ebp + edx*2]
sub esi, edx
jmp 0x47b2d3
cmp ecx, dword [esp + 0x60]
jne 0x47b2d3
mov esi, dword [esp + 0x5c]
cmp dword [esp + 0x68], 0
je 0x47b329
test esi, esi
jle 0x47b2fd
mov edi, edi
movzx ecx, word [ebp]
push ecx
call fcn.005413ff
add esp, 4
test eax, eax
je 0x47b325
dec esi
add ebp, 2
test esi, esi
jg 0x47b2e0
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x58]
jle 0x47b392
test ebx, ebx
je 0x47b38f
mov edx, 0xd
mov word [ebx + edi*2], dx
inc edi
mov eax, 0xa
mov word [ebx + edi*2], ax
inc edi
jmp 0x47b392
mov ecx, dword [esp + 0x64]
test esi, esi
jle 0x47b2fd
test ebx, ebx
jne 0x47b339
inc edi
add edi, esi
jmp 0x47b3b6
test edi, edi
jle 0x47b372
mov edx, dword [esp + 0x4c]
movzx eax, word [edx + edi*2 - 2]
lea ebx, [edx + edi*2]
push eax
call fcn.005413ff
add esp, 4
test eax, eax
jne 0x47b36e
mov ecx, dword [esp + 0x50]
push 1
push 0x5725c8
sub ecx, edi
push ecx
push ebx
call fcn.0044c530
add esp, 0x10
inc edi
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push esi
push ebp
sub edx, edi
push edx
lea eax, [ebx + edi*2]
push eax
call fcn.0044c530
mov ecx, dword [esp + 0x74]
add esp, 0x10
add edi, esi
jmp 0x47b3b6
add edi, 2
cmp dword [esp + 0x68], 0
je 0x47b3b6
test ebx, ebx
je 0x47b3b3
mov edx, 0xd
mov word [ebx + edi*2], dx
inc edi
mov eax, 0xa
mov word [ebx + edi*2], ax
inc edi
jmp 0x47b3b6
add edi, 2
add dword [esp + 0x6c], 0x24
inc ecx
cmp ecx, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
jle 0x47b2a0
jmp 0x47b243