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

Disassembly:
push 0xffffffffffffffff
push 0x5630eb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0xe8]
xor edi, edi
cmp eax, edi
je 0x47ee8c
cmp word [eax], di
je 0x47ee8c
cmp dword [esp + 0xec], edi
je 0x47ee8c
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe0]
cmp dword [ebp + 0x9c], edi
jne 0x47e40a
mov edx, dword [ebp + 0x31c]
lea eax, [esi + esi*8]
mov eax, dword [edx + eax*4 + 0x20]
cmp eax, edi
je 0x47e40a
cmp dword [eax + ecx*4], edi
mov dword [esp + 0x2c], 1
jl 0x47e40e
mov dword [esp + 0x2c], edi
mov dword [ebp + 0x180], esi
mov dword [ebp + 0x184], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x98], vtable.CLogLine.0
mov dword [esp + 0xd8], edi
cmp dword [ebp + 0x78], edi
jne 0x47e45d
cmp dword [ebp + 0x84], edi
je 0x47e5e2
push edi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00473d30
cmp eax, edi
jne 0x47e4d9
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call fcn.004745a0
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x31c]
lea eax, [ebx + ebx*8]
mov eax, dword [ecx + eax*4 + 0x10]
cmp eax, edi
jle 0x47e4c4
push 1
push eax
push ebx
mov ecx, ebp
call fcn.0047b460
inc ebx
mov dword [ebp + 0x180], ebx
mov dword [ebp + 0x184], edi
mov dword [esp + 0x24], 1
push edi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, ebp
call fcn.00473d30
jmp 0x47e535
mov edx, dword [ebp + 0x31c]
lea ecx, [esi + esi*8]
lea eax, [edx + ecx*4]
mov ecx, dword [eax + 0x10]
cmp ecx, edi
mov dword [esp + 0x14], ecx
jle 0x47e535
mov ebx, dword [eax + 8]
mov eax, dword [eax]
lea edx, [eax - 1]
xor eax, eax
cmp edx, edi
jle 0x47e515
mov edi, edi
movzx ecx, word [ebx + eax*2]
cmp cx, 0x20
je 0x47e510
cmp cx, 9
jne 0x47e515
inc eax
cmp eax, edx
jl 0x47e500
cmp eax, dword [esp + 0xe4]
jl 0x47e535
mov eax, dword [esp + 0x14]
push 1
push eax
push esi
mov ecx, ebp
call fcn.0047b460
mov dword [esp + 0x24], 1
mov edx, dword [ebp + 0x31c]
lea ecx, [esi + esi*8]
mov eax, dword [edx + ecx*4]
dec eax
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00473d30
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
sub esi, ebx
push 0xffffffffffffffff
inc esi
push esi
lea ecx, [esp + 0xa0]
call fcn.00471990
xor ecx, ecx
cmp esi, edi
jle 0x47e5e2
mov edx, dword [esp + 0x9c]
lea edi, [ebx + ebx*2]
add edi, edi
add edi, edi
jmp 0x47e594
mov ebx, dword [esp + 0x20]
add ebx, ecx
js 0x47e753
cmp ebx, dword [ebp + 0x16c]
jge 0x47e753
mov eax, dword [ebp + 0x168]
add eax, edi
test ecx, ecx
jl 0x47e753
cmp ecx, dword [esp + 0xa0]
jge 0x47e753
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
inc ecx
add edi, 0xc
add edx, 0xc
cmp ecx, esi
jl 0x47e590
xor edi, edi
mov dword [esp + 0x30], vtable.CArray_class_CHstring__class_CHstring__.0
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0xec], edi
mov byte [esp + 0xd8], 1
jle 0x47e77c
nop
mov ecx, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
xor edi, edi
xor ebx, ebx
cmp ecx, edi
jle 0x47e64c
jmp 0x47e630
mov edx, 0xd
cmp dx, word [eax + ebx*2]
jne 0x47e647
mov edx, 0xa
cmp dx, word [eax + ebx*2 + 2]
je 0x47e64c
inc ebx
cmp ebx, ecx
jl 0x47e630
push ebx
push eax
push edi
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
call fcn.004d3ff0
push edi
lea ecx, [esp + 0x78]
call fcn.004d3fa0
mov esi, dword [esp + 0x38]
cmp esi, edi
jl 0x47e753
mov eax, esi
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x38]
call fcn.00474830
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0xe8]
lea ecx, [esi + esi*8]
lea edi, [edx + ecx*4]
mov ecx, 9
lea esi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + ebx*2]
mov eax, dword [esp + 0xec]
sub eax, ebx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
test eax, eax
jle 0x47e77c
add dword [esp + 0xe8], 4
sub eax, 2
xor edi, edi
cmp eax, edi
mov dword [esp + 0xec], eax
jg 0x47e610
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.004d3fa0
mov esi, dword [esp + 0x38]
cmp esi, edi
jge 0x47e758
call fcn.005078a4
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x38]
call fcn.00474830
mov ecx, dword [esp + 0x34]
lea eax, [esi + esi*8]
lea edi, [ecx + eax*4]
mov ecx, 9
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0xe0]
dec edi
xor esi, esi
cmp edi, esi
lea edx, [edi + eax]
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edx
jle 0x47e8f2
cmp dword [ebp + 0x84], esi
je 0x47e7cf
mov edx, dword [ebp + 0x31c]
lea ecx, [eax + eax*8]
mov ecx, dword [edx + ecx*4 + 0x10]
cmp ecx, esi
jle 0x47e7cf
push 1
push ecx
push eax
mov ecx, ebp
call fcn.0047b460
mov dword [ebp + 0x184], esi
mov dword [esp + 0x24], 1
xor ebx, ebx
mov dword [esp + 0x74], vtable.CArray_class_CHstring__class_CHstring__.0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
cmp edi, esi
mov byte [esp + 0xd8], 2
mov dword [esp + 0x14], esi
jle 0x47e874
jmp 0x47e805
mov esi, dword [esp + 0x7c]
xor edi, edi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.004d3fa0
cmp esi, edi
jl 0x47e753
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x7c]
call fcn.00474830
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
lea ecx, [esi + esi*8]
lea edi, [ebx + ecx*4]
inc eax
cmp eax, dword [esp + 0x28]
mov ecx, 9
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
jl 0x47e801
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0xe0]
push edx
push ebx
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.00473a70
mov ecx, dword [ebp + 0x31c]
lea esi, [esi + esi*8]
add esi, esi
add esi, esi
mov eax, dword [ecx + esi]
sub eax, dword [esp + 0xe4]
mov edx, dword [ecx + esi + 8]
dec eax
mov edi, eax
mov eax, dword [esp + 0xe4]
lea eax, [edx + eax*2]
push edi
push eax
mov eax, dword [esp + 0x24]
lea edx, [eax + eax*8]
push 0
lea ecx, [ecx + edx*4]
call fcn.004d3ff0
mov eax, dword [esp + 0xe4]
mov ecx, dword [ebp + 0x31c]
push edi
push eax
add ecx, esi
call fcn.004d4070
mov byte [esp + 0xd8], 1
test ebx, ebx
je 0x47e8f2
push ebx
call fcn.004ff267
add esp, 4
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x38], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xcc], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
jle 0x47e9d7
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x34]
lea eax, [eax + eax*8]
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test ebx, ebx
jl 0x47e753
cmp ebx, dword [esp + 0x38]
jge 0x47e753
mov esi, dword [esp + 0x18]
mov ecx, 9
lea edi, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0xb4]
mov ecx, dword [ebp + 0x31c]
dec esi
mov eax, ebx
neg eax
sbb eax, eax
add ecx, dword [esp + 0x14]
push esi
not eax
and eax, dword [esp + 0xe8]
push edx
push eax
call fcn.004d3ff0
push 0
lea ecx, [esp + 0xb0]
call fcn.004d3ec0
mov eax, 0x24
add dword [esp + 0x18], eax
add dword [esp + 0x14], eax
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x47e95d
xor edi, edi
jmp 0x47e9db
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0xe0]
jne 0x47e9f1
mov ecx, dword [esp + 0xe4]
add esi, ecx
cmp dword [esp + 0x28], edi
mov edx, esi
mov dword [esp + 0x18], esi
mov dword [ebp + 0x178], eax
mov dword [ebp + 0x17c], edx
jg 0x47ea0f
cmp dword [esp + 0x24], edi
je 0x47ea12
or eax, 0xffffffff
mov dword [ebp + 0x188], eax
cmp eax, 0xffffffff
je 0x47ea30
mov ecx, dword [ebp + 0x31c]
lea eax, [eax + eax*8]
mov edx, dword [ecx + eax*4]
dec edx
mov dword [ebp + 0x18c], edx
mov eax, dword [ebp + 0xec]
imul eax, eax, 0x190
cmp dword [eax + 0x5bd350], edi
je 0x47ea77
push edi
cmp dword [ebp + 0xac], edi
je 0x47ea63
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xe4]
push ecx
push edx
mov ecx, ebp
call fcn.00478a20
jmp 0x47ea77
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xe4]
push eax
push ecx
mov ecx, ebp
call fcn.00478b70
cmp dword [ebp + 0x84], edi
je 0x47eac2
mov esi, dword [esp + 0xe4]
mov edx, dword [esp + 0xe0]
push esi
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], edx
call fcn.00475e80
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jl 0x47eaae
cmp eax, edi
je 0x47eac2
push edx
push esi
push ecx
mov ecx, ebp
call fcn.00478ff0
test eax, eax
je 0x47eac2
mov dword [ebp + 0x184], edi
mov eax, dword [esp + 0xf0]
cmp eax, edi
jbe 0x47ec40
lea ebx, [ebp + 0x308]
cmp eax, 2
je 0x47eae2
lea ebx, [ebp + 0x2f4]
mov esi, dword [ebx + 8]
cmp esi, edi
je 0x47eb48
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe0]
mov eax, dword [ebx + 4]
lea esi, [esi + esi*2]
push ecx
shl esi, 4
push edx
lea ecx, [esi + eax - 0x30]
call fcn.004d3c00
test eax, eax
je 0x47eb48
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
test eax, eax
je 0x47eb48
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xe0]
push ecx
mov ecx, dword [esp + 0xe8]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esi + edx - 0x30]
call fcn.004d3c30
jmp 0x47ebe8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0xe8]
push ecx
push edx
mov esi, 1
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x78], edi
call fcn.004d3c30
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
test eax, eax
jne 0x47ebb9
push esi
mov ecx, ebp
call fcn.00473b60
mov dword [esp + 0x6c], esi
mov esi, dword [ebx + 8]
cmp esi, edi
jge 0x47ebc5
call fcn.005078a4
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, ebx
call fcn.004716f0
lea edi, [esi + esi*2]
shl edi, 4
add edi, dword [ebx + 4]
mov ecx, 0xc
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [esp + 0xf0], 1
jne 0x47ec40
cmp dword [ebp + 0x310], edi
je 0x47ec40
mov esi, dword [ebp + 0x310]
cmp esi, edi
je 0x47ec1b
xor ebx, ebx
mov ecx, dword [ebp + 0x30c]
add ecx, ebx
dec esi
add ebx, 0x30
call fcn.004d3be0
cmp esi, edi
jne 0x47ec06
mov eax, dword [ebp + 0x30c]
cmp eax, edi
je 0x47ec34
push eax
call fcn.004ff267
add esp, 4
mov dword [ebp + 0x30c], edi
mov dword [ebp + 0x314], edi
mov dword [ebp + 0x310], edi
cmp dword [0x5ed690], edi
je 0x47ec6a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xe0]
push edi
push edx
mov edx, dword [esp + 0xec]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.0047e2b0
cmp dword [ebp + 0x78], edi
jne 0x47ec7b
cmp dword [ebp + 0x84], edi
je 0x47ee33
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0x20]
inc ebx
mov eax, ebx
sub eax, dword [esp + 0xa0]
mov dword [esp + 0x18], ebx
cmp eax, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], edi
jle 0x47ecbc
push eax
lea eax, [esp + 0x78]
push eax
push esi
lea ecx, [ebp + 0x164]
call fcn.004715d0
jmp 0x47ed38
jge 0x47ed38
neg eax
cmp esi, edi
mov edx, eax
mov dword [esp + 0x24], edx
lea ecx, [edx + esi]
jl 0x47e753
cmp edx, edi
jl 0x47e753
mov eax, dword [ebp + 0x16c]
cmp ecx, eax
jg 0x47e753
cmp ecx, esi
jl 0x47e753
cmp ecx, edx
jl 0x47e753
sub eax, ecx
je 0x47ed32
mov edx, dword [ebp + 0x168]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*4]
lea eax, [eax + eax*2]
mov dword [esp + 0x14], ecx
add eax, eax
lea ecx, [esi + esi*2]
add eax, eax
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push eax
push edx
call fcn.0053fe51
push eax
call fcn.004012a0
mov edx, dword [esp + 0x38]
add esp, 0x14
sub dword [ebp + 0x16c], edx
xor ecx, ecx
cmp ebx, edi
jle 0x47edb1
mov edx, dword [esp + 0xe0]
lea eax, [edx + edx*8]
lea ebx, [esi + esi*2]
add ebx, ebx
add eax, eax
add eax, eax
add ebx, ebx
sub edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
jmp 0x47ed64
mov edx, dword [esp + 0x24]
lea edi, [edx + esi]
mov edx, dword [ebp + 0x31c]
mov edx, dword [edx + eax]
dec edx
test esi, esi
jl 0x47e753
cmp esi, dword [ebp + 0x16c]
jge 0x47e753
mov eax, dword [ebp + 0x168]
add eax, ebx
mov dword [eax], edi
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x24
add ebx, 0xc
inc esi
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x47ed60
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], edi
jle 0x47ee33
mov eax, dword [ebp + 0x16c]
add ecx, esi
cmp ecx, eax
mov dword [esp + 0x14], eax
jge 0x47ee23
lea edx, [ecx + ecx*2]
add edx, edx
add edx, edx
mov edi, edi
cmp edx, edi
jl 0x47e753
cmp ecx, dword [ebp + 0x16c]
jge 0x47e753
mov eax, dword [ebp + 0x168]
mov esi, dword [eax + edx]
add esi, dword [esp + 0x28]
mov ebx, dword [eax + edx + 4]
mov edi, dword [eax + edx + 8]
add eax, edx
cmp ecx, dword [ebp + 0x16c]
jge 0x47e753
mov eax, dword [ebp + 0x168]
add eax, edx
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
inc ecx
add edx, 0xc
xor edi, edi
cmp ecx, dword [esp + 0x14]
jl 0x47edd0
mov dword [ebp + 0x188], 0xffffffff
mov dword [ebp + 0x18c], edi
cmp dword [esp + 0x2c], edi
je 0x47ee3f
mov dword [ebp + 0x184], edi
cmp dword [ebp + 0x78], edi
je 0x47ee60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe0]
push eax
push ecx
lea edx, [esp + 0xa0]
push edx
mov ecx, ebp
call fcn.0047adf0
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x47ee71
push eax
call fcn.004ff267
add esp, 4
mov eax, dword [esp + 0x9c]
cmp eax, edi
je 0x47ee85
push eax
call fcn.004ff267
add esp, 4
mov eax, 1
jmp 0x47ee8e
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0x14