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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
mov esi, dword [edi + 8]
mov eax, dword [esi + 0x74]
dec dword [edi + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], eax
test edx, edx
je 0x47e9f3
mov ebx, dword [esi + 0x74]
lea eax, [esi + 0x70]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x78], ebx
jg 0x47e7b2
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x47e7e7
lea ecx, [ebx + ebx*4]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ebx, [esi + 0x70]
mov eax, dword [ebx]
mov dword [esp + 0x14], ebx
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x47e7f0
inc dword [edx]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
inc eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x78], ecx
jg 0x47e838
mov ebx, dword [esp + 0x24]
mov edx, 0x58
push ebx
mov ebx, dword [esp + 0x24]
mov ecx, esi
push eax
push ebx
call fcn.0042a9a0
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x47e872
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x58
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi]
mov ecx, eax
cmp byte [ebx + 0x53], 0
je 0x47e88e
push edx
mov edx, 0xfffffff7
mov ecx, ebx
call fcn.0042b470
add esp, 4
jmp 0x47e8c5
test eax, eax
jns 0x47e896
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x47e8ba
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, esi
call fcn.0042b6e0
add esp, 8
jmp 0x47e8c5
test edx, edx
je 0x47e8c5
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
add edx, 2
cmp dword [esi + 0x78], ecx
jg 0x47e8eb
push edx
push dword [esp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x10
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e916
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x10
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x74]
mov ebx, dword [ebp + 8]
test ecx, ecx
jns 0x47e927
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x47e936
mov eax, 0x4edf68
jmp 0x47e93f
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp + 0x14]
dec edx
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x47e96d
push edx
push eax
mov eax, dword [ebx + 0xc]
mov edx, 0x4e
push eax
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e99f
mov edi, dword [ebx + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47e9bf
push 0
push dword [ebp + 0x14]
mov edx, 0x46
mov ecx, esi
push 1
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e9f6
mov edx, dword [ebp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47e9f6
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x47ea07
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x47ea65
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47ea32
push 1
push dword [esp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ea65
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ecx]
add eax, 0xfffffff6
cmp eax, 3
ja case.default.0x47ea77
jmp dword [eax*4 + 0x47efa4]
mov cl, byte [edi + 0x13]
lea edx, [edi + 0x2c]
test cl, cl
jne 0x47ea97
mov ebx, dword [edx]
inc ebx
mov dword [edx], ebx
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
jmp 0x47eac6
sub cl, 1
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jne 0x47eab3
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x14], ecx
jmp 0x47eac6
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x47eaef
push ebx
push edx
push eax
mov edx, 0x5f
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47eb1e
mov edi, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ecx
jg 0x47eb48
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x7d
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x47eb7b
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
cmp dword [esi + 0x78], ecx
jg 0x47eba5
push edx
push ebx
push eax
mov edx, 0x7e
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x47ebd4
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x47ebef
lea ecx, [eax + eax*4]
mov edi, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], di
mov edi, dword [esp + 0x10]
test edx, edx
je 0x47ec07
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x47ec07
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [edi + 0x13]
test ebx, ebx
je 0x47eebd
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x47eebd
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
jmp 0x47eebd
mov al, byte [edi + 0x13]
test al, al
jne 0x47ec3b
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x47ec4a
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [ebx + 0x10]
push eax
push dword [ecx + 0x14]
mov dword [esp + 0x1c], edx
mov ecx, esi
push edx
push eax
push dword [ebx + 0xc]
mov edx, 0x5f
call fcn.0042ace0
mov eax, dword [ebx + 0x10]
add esp, 0x14
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esi + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ebx
jg 0x47eca2
push ecx
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x88
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ebx, eax
jmp 0x47ecd5
mov edi, dword [esp + 0x30]
lea eax, [ebx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x88
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
jne 0x47ecf0
mov eax, dword [esi + 0x70]
lea ecx, [ebx + ebx*4]
mov ebx, dword [esp + 0x28]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
test edx, edx
je 0x47eebd
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x47eebd
movzx eax, al
mov dword [edi + eax*4 + 0x98], edx
inc byte [edi + 0x13]
jmp 0x47eebd
mov edi, dword [edi + 8]
mov eax, dword [ecx + 4]
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx + 0xc]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x78], ecx
jg 0x47ed44
push edx
push eax
push ebx
mov edx, 0x4d
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47eebd
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x47eeb5
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x47edd8
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
cmp eax, 1
jne 0x47ed9f
mov al, byte [edi + 0x13]
test al, al
jne 0x47ed8e
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x47edcf
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
jmp 0x47edcf
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
cmp eax, ecx
jg 0x47edbc
add eax, edx
sub ecx, dword [ebx + 0x10]
mov dword [edi + 0x20], eax
mov eax, ecx
mov dword [esp + 0x30], ecx
mov dword [edi + 0x1c], eax
jmp 0x47edcc
mov eax, dword [edi + 0x2c]
mov ebx, dword [ebp + 8]
lea edx, [eax + 1]
add eax, dword [esp + 0x30]
mov dword [edi + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov edi, dword [edi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x47edfd
push eax
mov eax, dword [ebx + 0xc]
mov ecx, edi
push edx
push eax
mov edx, 0x4d
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ee2a
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [ebx + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 4]
cmp dword [esi + 0x78], ecx
jg 0x47ee4e
push 0
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47eebd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
jmp 0x47eead
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x47ee92
push 0
push edx
push edi
mov edx, 0x52
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47eebd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 8]
test edx, edx
je 0x47ef16
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47eee7
push 0
push dword [ebp + 0x1c]
mov ecx, esi
push edx
mov edx, 0x3c
call fcn.0042a9a0
add esp, 0xc
jmp 0x47ef16
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47ef34
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x47ef3d
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47ef66
push 0
push 0
push dword [ebp + 0x10]
mov edx, 0x42
mov ecx, esi
call fcn.0042a9a0
mov eax, dword [esp + 0x40]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
pop edi
pop esi
mov dword [eax + ecx*4], 0x42
lea edx, [eax + ecx*4]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 8], 0
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret