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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 8
mov esi, dword [edi + 8]
mov eax, dword [edi]
add esi, 0x28
xor ebx, ebx
push esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
call fcn.004560f0
add esp, 8
cmp dword [edi + 0x5c], 7
mov dword [edi + 0x14], ebx
jne 0x47a31d
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + 0x1e], 1
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi + 0x61]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 8], ecx
mov byte [ebp - 1], al
cmp al, 1
jne 0x47a3b4
mov eax, dword [edi + 8]
add eax, 0x168
mov dword [ebp - 0x10], eax
test byte [eax + 0x1c], 0x10
je 0x47a350
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 4]
shr edx, 2
mov dword [ebp - 0xc], edx
jmp 0x47a352
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp edx, 2
jl 0x47a396
lea eax, [edx - 1]
xor edi, edi
mov dword [ebp - 0x18], eax
xor edx, edx
mov esi, eax
mov eax, dword [ebx + ecx*4]
add ecx, 2
add edi, dword [eax + 4]
mov eax, dword [ebx + ecx*4 - 4]
add edx, dword [eax + 4]
cmp ecx, esi
jl 0x47a373
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
cmp ecx, edx
jge 0x47a3a6
mov eax, dword [ebx + ecx*4]
mov ecx, dword [edi + 0x1c]
add ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [edi + 0x58]
lea eax, [edx + 1]
mov dword [edi + 0x58], eax
cmp edx, ecx
jge 0x47a62a
cmp byte [ebp - 1], 2
jne 0x47a3da
mov eax, dword [edi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4], 0x96
mov ecx, dword [ebp - 8]
jne 0x47a3b4
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0xe0], 0
je 0x47a415
push 9
mov dword [edi + 0x5c], 9
mov esi, 1
call fcn.00460640
push eax
push 0x4afe94
push ecx
lea eax, [edi + 0x38]
push eax
call fcn.0046f820
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1c]
cmp edx, eax
jge 0x47a421
mov eax, dword [edi + 4]
jmp 0x47a442
sub edx, eax
mov eax, dword [ebx]
xor ecx, ecx
mov eax, dword [eax + 4]
cmp edx, eax
jl 0x47a43d
mov edi, edi
inc ecx
sub edx, eax
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x47a430
mov eax, dword [ebx + ecx*4]
mov eax, dword [eax]
cmp byte [edi + 0x61], 1
lea ecx, [edx + edx*4]
lea ecx, [eax + ecx*4]
mov dword [ebp - 8], ecx
mov eax, 4
jne 0x47a501
mov word [esi + 0x1c], ax
mov eax, edx
cdq
mov dword [esi + 0x10], eax
mov byte [esi + 0x1e], 1
mov dword [esi + 0x14], edx
mov eax, 0xa02
mov word [esi + 0x44], ax
movzx eax, byte [ecx]
push eax
call fcn.00468020
push eax
mov dword [esi + 0x2c], eax
call fcn.004705b0
mov ecx, dword [ebp - 8]
mov dword [esi + 0x40], eax
mov word [esi + 0x46], 0x103
add esp, 8
add esi, 0x50
cmp byte [ecx + 1], 0xee
jne 0x47a504
mov edx, dword [ebp - 0xc]
lea eax, [edx*4]
mov dword [ebp - 0x1c], eax
xor eax, eax
test edx, edx
jle 0x47a4c4
mov edi, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
cmp dword [ebx + eax*4], ecx
je 0x47a4c1
inc eax
cmp eax, edx
jl 0x47a4b7
mov ecx, dword [ebp - 8]
cmp eax, edx
jne 0x47a504
lea eax, [edx*4]
push 1
add eax, 4
push eax
push dword [ebp - 0x10]
call fcn.0047aba0
add esp, 0xc
test eax, eax
jne 0x47a501
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx + ecx], eax
or word [edx + 0x1c], 0x10
lea eax, [ebx + 4]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 8]
mov ebx, 4
mov word [esi + 0x1c], bx
mov eax, dword [ecx + 4]
mov byte [esi + 0x1e], 1
cdq
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov word [esi + 0x44], bx
mov eax, dword [ecx + 8]
cdq
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edx
mov byte [esi + 0x46], 1
mov word [esi + 0x6c], bx
mov eax, dword [ecx + 0xc]
cdq
push 0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov byte [esi + 0x6e], 1
add esi, 0x78
push 0x20
push esi
call fcn.0047aba0
add esp, 0xc
test eax, eax
jne 0x47a311
mov ebx, dword [ebp - 8]
push 0x20
push dword [esi + 4]
mov eax, 0x602
push ebx
mov word [esi + 0x1c], ax
call fcn.00449b50
mov ecx, dword [esi + 4]
add esp, 0xc
cmp eax, ecx
je 0x47a58a
push 0
push 1
push 0xffffffffffffffff
push eax
push esi
call fcn.0047b100
add esp, 0x14
jmp 0x47a59a
push ecx
call fcn.004705b0
add esp, 4
mov dword [esi + 0x18], eax
mov byte [esi + 0x1f], 1
mov byte [esi + 0x1e], 3
add esi, 0x28
cmp byte [edi + 0x61], 1
jne 0x47a5f6
push 0
push 4
push esi
call fcn.0047aba0
add esp, 0xc
test eax, eax
jne 0x47a311
mov eax, 0x602
mov word [esi + 0x1c], ax
mov dword [esi + 0x18], 2
movzx eax, byte [ebx + 3]
push eax
push str._.2x
push dword [esi + 4]
push 3
call fcn.0043eb90
mov word [esi + 0x1e], 0x103
mov eax, 1
add esp, 0x10
mov word [esi + 0x44], ax
mov byte [esi + 0x46], 5
movzx eax, byte [edi + 0x61]
dec ax
mov ecx, 2
sub cx, ax
mov eax, dword [edi + 8]
shl cx, 2
add eax, 0x28
mov dword [edi + 0x14], eax
mov esi, 0x64
mov word [edi + 0x30], cx
mov dword [edi + 0x5c], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x65
mov dword [edi + 0x5c], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret