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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], edi
call fcn.0046c9e7
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x6c]
push ecx
push dword [eax]
push edi
call fcn.0047c5c9
test al, al
mov ecx, dword [ebp + 8]
jne 0x47c66f
push dword [ebp + 0x10]
mov eax, esi
mov edx, edi
call fcn.0047ce14
jmp 0x47ce0b
mov eax, dword [esi]
call fcn.0046c9e7
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x254]
inc dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov dword [esp + 0x38], 0x46abac
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], ebx
call fcn.0046c9e7
cmp dword [eax + 8], 0x47
je 0x47c6ce
push dword [esp + 0x64]
push 0x6f
jmp 0x47cdef
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
lea ecx, [esp + 0x20]
push edi
call fcn.0047c567
test eax, eax
jne 0x47cdf6
mov eax, dword [esp + 0x60]
call fcn.0045a14c
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
jle 0x47c92e
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jae 0x47c92e
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc dword [esp + 0x34]
mov ecx, esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x24], ebx
call fcn.0046c9e7
cmp dword [eax + 8], ebx
jne 0x47c86f
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046c9e7
cmp dword [eax], 0x23
jne 0x47c763
mov byte [esp + 0x13], 1
jmp 0x47c77f
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046c9e7
cmp dword [eax], 0x1e
jne 0x47c9d7
mov dword [esp + 0x24], 0x100
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046c9e7
cmp dword [eax + 8], ebx
je 0x47c74c
cmp byte [esp + 0x13], 0
je 0x47c86f
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
cmp dword [eax + 8], 0x33
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
jne 0x47c9e3
call fcn.0046c9e7
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.00460bea
lea eax, [esp + 0x58]
push eax
xor ecx, ecx
lea esi, [esp + 0x30]
lea edi, [esp + 0x7c]
call fcn.004609a6
push dword [esp + 0x78]
mov bl, al
neg bl
sbb bl, bl
inc bl
call 0x4a0ea2
test bl, bl
pop ecx
jne 0x47c9ed
mov eax, 0x100
test dword [esp + 0x2c], eax
je 0x47c80e
test dword [esp + 0x24], eax
je 0x47ca07
inc dword [esp + 0x18]
mov eax, dword [esp + 0x58]
inc dword [esp + 0xc]
cmp dword [eax + 8], 5
jne 0x47c84e
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
cmp dword [eax + 8], 0x4e
jne 0x47c84e
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x5c]
lea eax, [esp + 0x1c]
call fcn.00480ac3
test eax, eax
jne 0x47cdf6
push dword [esp + 0x58]
lea esi, [esp + 0x4c]
call fcn.004630ad
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.00461b49
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x47c8d4
push ebx
lea esi, [esp + 0x4c]
call fcn.004629ab
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.00461b49
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x47c894
call fcn.00480224
jmp 0x47c89c
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4 - 4]
push dword [esp + 0x20]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call fcn.004819d5
test eax, eax
jne 0x47cdf6
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
cmp dword [eax + 8], 0x41
jne 0x47c8d4
add dword [esp + 0xc], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x47c92e
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
cmp dword [eax + 8], 0x40
mov eax, dword [esp + 0x18]
jne 0x47ca1d
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x20]
je 0x47ca1d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
cmp dword [eax + 8], 0x40
jne 0x47c91c
inc dword [esp + 0xc]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jl 0x47c719
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x84]
jl 0x47cde9
cmp eax, dword [esp + 0x30]
jg 0x47cde9
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x47cde9
mov dword [esp + 0xc], 3
call fcn.00460a03
xor eax, eax
inc eax
cmp dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
jl 0x47cb1b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x90], 0xffffffff
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x68], 0x46a358
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x13], bl
call fcn.0046c9e7
cmp dword [eax + 8], esi
jne 0x47cb97
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
cmp dword [eax], 0x23
jne 0x47ca2d
mov byte [esp + 0x13], 1
jmp 0x47ca4b
push 0xffffffffffffffff
push 0x91
jmp 0x47cdef
call fcn.0046c9e7
push dword [eax + 0xc]
jmp 0x47c9d9
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
push dword [eax + 0xc]
push 0x79
mov ebx, dword [esp + 0x30]
jmp 0x47cdf1
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
push dword [eax + 0xc]
push 0xb0
jmp 0x47c9fe
mov ecx, dword [ebp + 8]
call fcn.0046c9e7
push dword [eax + 0xc]
jmp 0x47c6c7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
cmp dword [eax], 0x1e
jne 0x47ca4f
mov dword [esp + 0x24], 0x100
mov ebx, dword [esp + 0x24]
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
cmp dword [eax + 8], esi
je 0x47c9be
cmp byte [esp + 0x13], 0
je 0x47cb97
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
push dword [eax]
lea esi, [esp + 0xa8]
call fcn.00460bea
mov eax, dword [esp + 0x1c]
dec eax
lea ecx, [esp + 0x38]
call fcn.004585f1
cmp dword [eax + 8], 6
jne 0x47caa3
mov eax, dword [eax]
jmp 0x47caa5
xor eax, eax
cmp dword [0x47fdfc], 0
je 0x47cad6
test eax, eax
je 0x47cad6
push eax
mov eax, 0x47fdfc
or ebx, 0x200
call fcn.00460b6b
push eax
mov eax, ebx
lea ecx, [esp + 0xac]
call fcn.00462056
mov bl, 1
jmp 0x47cad8
xor bl, bl
push dword [esp + 0xa4]
call 0x4a0ea2
test bl, bl
pop ecx
je 0x47cd4d
add dword [esp + 0xc], 2
lea ecx, [esp + 0x88]
call fcn.00461ce7
lea ecx, [esp + 0x68]
call fcn.00459fb8
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jle 0x47c975
xor ebx, ebx
mov eax, dword [esp + 0x34]
lea esi, [edi + 0x238]
push ebx
mov dword [edi + 0x254], eax
mov word [edi + 0x18e], bx
call fcn.004629ab
push ebx
xor ecx, ecx
mov eax, edi
call fcn.0046c8cb
movzx eax, word [edi + 0x18e]
test al, 4
mov dword [edi + 0x250], ebx
je 0x47cb5d
xor eax, 4
mov word [edi + 0x18e], ax
mov eax, dword [esp + 0x60]
push ebx
inc eax
push eax
mov ecx, edi
call fcn.0046c677
test byte [edi + 0x18e], 1
je 0x47cd7d
mov ebx, dword [ebp + 0x10]
push esi
call fcn.004627f7
xor word [edi + 0x18e], 1
push 1
call fcn.004629ab
xor ebx, ebx
jmp 0x47cd86
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], eax
jle 0x47cc9d
lea esi, [esp + 0x68]
call fcn.0045a06e
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
and dword [esp + 0x2c], 0
add esi, 2
mov eax, esi
call fcn.0046c9e7
cmp dword [eax + 8], 0x4a
je 0x47cbe0
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046c9e7
cmp dword [eax + 8], 0x49
je 0x47cbe0
mov eax, esi
jmp 0x47cbfc
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046c9e7
push eax
lea ebx, [esp + 0x6c]
call fcn.00459fd7
mov eax, dword [esp + 0xc]
add eax, 3
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
push eax
lea ebx, [esp + 0x6c]
call fcn.00459fd7
push 0x7f
pop edi
lea esi, [esp + 0x88]
call fcn.00461d32
mov eax, esi
push eax
call fcn.00459fd7
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, ebx
push eax
call fcn.004819d5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
push dword [eax]
lea esi, [esp + 0x9c]
call fcn.00460bea
mov eax, dword [esp + 0x24]
or eax, 0x200
cmp dword [0x47fdfc], 0
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, esi
push eax
jne 0x47cc7b
push 0x47fdf8
jmp 0x47cc86
mov eax, 0x47fdfc
call fcn.00460b6b
push eax
call fcn.00461fc3
push dword [esp + 0x98]
call 0x4a0ea2
mov edi, dword [esp + 0x2c]
jmp 0x47ccf7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.00460bea
mov eax, dword [esp + 0x1c]
or ebx, 0x200
dec eax
lea ecx, [esp + 0x38]
call fcn.004585f1
cmp dword [0x47fdfc], 0
push ebx
push eax
mov eax, esi
push eax
jne 0x47ccde
push 0x47fdf8
jmp 0x47cce9
mov eax, 0x47fdfc
call fcn.00460b6b
push eax
call fcn.00461fc3
push dword [esp + 0x78]
call 0x4a0ea2
mov eax, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x14]
inc eax
call fcn.0046c9e7
cmp dword [eax + 8], 0x41
jne 0x47caed
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add esi, 2
mov eax, esi
call fcn.0046c9e7
cmp dword [eax + 8], 0x4a
je 0x47cd43
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046c9e7
cmp dword [eax + 8], 0x49
je 0x47cd43
add dword [esp + 0xc], 4
jmp 0x47caf2
add dword [esp + 0xc], 5
jmp 0x47caf2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046c9e7
push dword [eax + 0xc]
mov ebx, edi
push 0x79
call fcn.0046af7b
lea ecx, [esp + 0x88]
call fcn.00461ce7
lea ecx, [esp + 0x68]
call fcn.00459fb8
jmp 0x47cdf6
mov esi, dword [ebp + 0x10]
push ebx
call fcn.004629ab
movzx eax, word [edi + 0x18e]
test al, 2
je 0x47cd9d
xor eax, 2
mov word [edi + 0x18e], ax
jmp 0x47cda7
push ebx
xor ecx, ecx
mov eax, edi
call fcn.0046c8cb
movzx eax, word [edi + 0x18e]
test al, 4
je 0x47cdbe
xor eax, 4
mov word [edi + 0x18e], ax
jmp 0x47cdc4
mov dword [edi + 0x250], ebx
call fcn.00460a5d
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
mov dword [edi + 0x254], eax
call fcn.0046237e
lea ecx, [esp + 0x38]
call fcn.00461b2a
xor eax, eax
jmp 0x47ce0b
push dword [esp + 0x64]
push 0x70
mov ebx, edi
call fcn.0046af7b
lea ecx, [esp + 0x48]
call fcn.0046237e
lea ecx, [esp + 0x38]
call fcn.00461b2a
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc