Function at 0x47a61b
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.0046ab38
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.0047a5ce
test al, al
mov ecx, dword [ebp + 8]
jne 0x47a674
push dword [ebp + 0x10]
mov eax, esi
mov edx, edi
call fcn.0047ae1a
jmp 0x47ae11
mov eax, dword [esi]
call fcn.0046ab38
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x25c]
inc dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
mov dword [esp + 0x38], 0x469d94
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.0046ab38
cmp dword [eax + 8], 0x47
je 0x47a6d3
push dword [esp + 0x64]
push 0x6f
jmp 0x47adf5
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.0047a56c
test eax, eax
jne 0x47adfc
mov eax, dword [esp + 0x60]
call fcn.00457bcb
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 0x47a933
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jae 0x47a933
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.0046ab38
cmp dword [eax + 8], ebx
jne 0x47a874
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046ab38
cmp dword [eax], 0x23
jne 0x47a768
mov byte [esp + 0x13], 1
jmp 0x47a784
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046ab38
cmp dword [eax], 0x1e
jne 0x47a9dc
mov dword [esp + 0x24], 0x100
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, esi
call fcn.0046ab38
cmp dword [eax + 8], ebx
je 0x47a751
cmp byte [esp + 0x13], 0
je 0x47a874
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046ab38
cmp dword [eax + 8], 0x33
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
jne 0x47a9e8
call fcn.0046ab38
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.0045e6ad
lea eax, [esp + 0x58]
push eax
xor ecx, ecx
lea esi, [esp + 0x30]
lea edi, [esp + 0x7c]
call fcn.0045e492
push dword [esp + 0x78]
mov bl, al
neg bl
sbb bl, bl
inc bl
call 0x49dcf0
test bl, bl
pop ecx
jne 0x47a9f2
mov eax, 0x100
test dword [esp + 0x2c], eax
je 0x47a813
test dword [esp + 0x24], eax
je 0x47aa0c
inc dword [esp + 0x18]
mov eax, dword [esp + 0x58]
inc dword [esp + 0xc]
cmp dword [eax + 8], 5
jne 0x47a853
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046ab38
cmp dword [eax + 8], 0x4e
jne 0x47a853
push dword [esp + 0x28]
mov ecx, dword [ebp + 8]
lea edi, [esp + 0x5c]
lea eax, [esp + 0x1c]
call fcn.0047eae8
test eax, eax
jne 0x47adfc
push dword [esp + 0x58]
lea esi, [esp + 0x4c]
call fcn.00460b70
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.0045f60c
mov edi, dword [esp + 0x28]
xor ebx, ebx
jmp 0x47a8d9
push ebx
lea esi, [esp + 0x4c]
call fcn.0046046e
mov eax, esi
push eax
lea esi, [esp + 0x3c]
call fcn.0045f60c
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x47a899
call fcn.0047e249
jmp 0x47a8a1
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.0047f9f6
test eax, eax
jne 0x47adfc
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
cmp dword [eax + 8], 0x41
jne 0x47a8d9
add dword [esp + 0xc], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x47a933
mov ecx, dword [ebp + 8]
call fcn.0046ab38
cmp dword [eax + 8], 0x40
mov eax, dword [esp + 0x18]
jne 0x47aa22
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x20]
je 0x47aa22
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
cmp dword [eax + 8], 0x40
jne 0x47a921
inc dword [esp + 0xc]
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jl 0x47a71e
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x84]
jl 0x47adef
cmp eax, dword [esp + 0x30]
jg 0x47adef
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jne 0x47adef
mov dword [esp + 0xc], 3
call fcn.0045e4ef
xor eax, eax
inc eax
cmp dword [esp + 0x30], eax
mov dword [esp + 0x1c], eax
jl 0x47ab20
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], 0x469540
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.0046ab38
cmp dword [eax + 8], esi
jne 0x47ab9d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
cmp dword [eax], 0x23
jne 0x47aa32
mov byte [esp + 0x13], 1
jmp 0x47aa50
push 0xffffffffffffffff
push 0x91
jmp 0x47adf5
call fcn.0046ab38
push dword [eax + 0xc]
jmp 0x47a9de
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046ab38
push dword [eax + 0xc]
push 0x79
mov ebx, dword [esp + 0x30]
jmp 0x47adf7
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.0046ab38
push dword [eax + 0xc]
push 0xb0
jmp 0x47aa03
mov ecx, dword [ebp + 8]
call fcn.0046ab38
push dword [eax + 0xc]
jmp 0x47a6cc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
cmp dword [eax], 0x1e
jne 0x47aa54
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.0046ab38
cmp dword [eax + 8], esi
je 0x47a9c3
cmp byte [esp + 0x13], 0
je 0x47ab9d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
push dword [eax]
lea esi, [esp + 0xa8]
call fcn.0045e6ad
mov eax, dword [esp + 0x1c]
dec eax
lea ecx, [esp + 0x38]
call fcn.0045605c
cmp dword [eax + 8], 6
jne 0x47aaa8
mov eax, dword [eax]
jmp 0x47aaaa
xor eax, eax
cmp dword [0x47ee7c], 0
je 0x47aadb
test eax, eax
je 0x47aadb
push eax
mov eax, 0x47ee7c
or ebx, 0x200
call fcn.0045e657
push eax
mov eax, ebx
lea ecx, [esp + 0xac]
call fcn.0045fb19
mov bl, 1
jmp 0x47aadd
xor bl, bl
push dword [esp + 0xa4]
call 0x49dcf0
test bl, bl
pop ecx
je 0x47ad53
add dword [esp + 0xc], 2
lea ecx, [esp + 0x88]
call fcn.0045f7aa
lea ecx, [esp + 0x68]
call fcn.00457a53
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jle 0x47a97a
xor ebx, ebx
mov eax, dword [esp + 0x34]
lea esi, [edi + 0x240]
push ebx
mov dword [edi + 0x25c], eax
mov word [edi + 0x196], bx
call fcn.0046046e
push ebx
xor ecx, ecx
mov eax, edi
call fcn.0046aa1c
movzx eax, word [edi + 0x196]
test al, 4
mov dword [edi + 0x258], ebx
je 0x47ab62
xor eax, 4
mov word [edi + 0x196], ax
mov eax, dword [esp + 0x60]
push ebx
push ebx
inc eax
push eax
mov ecx, edi
call fcn.0046a847
test byte [edi + 0x196], 1
je 0x47ad83
mov ebx, dword [ebp + 0x10]
push esi
call fcn.004602ba
xor word [edi + 0x196], 1
push 1
call fcn.0046046e
xor ebx, ebx
jmp 0x47ad8c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x1c], eax
jle 0x47aca3
lea esi, [esp + 0x68]
call fcn.00457b09
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
and dword [esp + 0x2c], 0
add esi, 2
mov eax, esi
call fcn.0046ab38
cmp dword [eax + 8], 0x4a
je 0x47abe6
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046ab38
cmp dword [eax + 8], 0x49
je 0x47abe6
mov eax, esi
jmp 0x47ac02
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046ab38
push eax
lea ebx, [esp + 0x6c]
call fcn.00457a72
mov eax, dword [esp + 0xc]
add eax, 3
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
push eax
lea ebx, [esp + 0x6c]
call fcn.00457a72
push 0x7f
pop edi
lea esi, [esp + 0x88]
call fcn.0045f7f5
mov eax, esi
push eax
call fcn.00457a72
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.0047f9f6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
push dword [eax]
lea esi, [esp + 0x9c]
call fcn.0045e6ad
mov eax, dword [esp + 0x24]
or eax, 0x200
cmp dword [0x47ee7c], 0
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, esi
push eax
jne 0x47ac81
push 0x47ee78
jmp 0x47ac8c
mov eax, 0x47ee7c
call fcn.0045e657
push eax
call fcn.0045fa86
push dword [esp + 0x98]
call 0x49dcf0
mov edi, dword [esp + 0x2c]
jmp 0x47acfd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
push dword [eax]
lea esi, [esp + 0x7c]
call fcn.0045e6ad
mov eax, dword [esp + 0x1c]
or ebx, 0x200
dec eax
lea ecx, [esp + 0x38]
call fcn.0045605c
cmp dword [0x47ee7c], 0
push ebx
push eax
mov eax, esi
push eax
jne 0x47ace4
push 0x47ee78
jmp 0x47acef
mov eax, 0x47ee7c
call fcn.0045e657
push eax
call fcn.0045fa86
push dword [esp + 0x78]
call 0x49dcf0
mov eax, dword [esp + 0x10]
pop ecx
mov ecx, dword [esp + 0x14]
inc eax
call fcn.0046ab38
cmp dword [eax + 8], 0x41
jne 0x47aaf2
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
add esi, 2
mov eax, esi
call fcn.0046ab38
cmp dword [eax + 8], 0x4a
je 0x47ad49
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0046ab38
cmp dword [eax + 8], 0x49
je 0x47ad49
add dword [esp + 0xc], 4
jmp 0x47aaf7
add dword [esp + 0xc], 5
jmp 0x47aaf7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
call fcn.0046ab38
push dword [eax + 0xc]
mov ebx, edi
push 0x79
call fcn.00469067
lea ecx, [esp + 0x88]
call fcn.0045f7aa
lea ecx, [esp + 0x68]
call fcn.00457a53
jmp 0x47adfc
mov esi, dword [ebp + 0x10]
push ebx
call fcn.0046046e
movzx eax, word [edi + 0x196]
test al, 2
je 0x47ada3
xor eax, 2
mov word [edi + 0x196], ax
jmp 0x47adad
push ebx
xor ecx, ecx
mov eax, edi
call fcn.0046aa1c
movzx eax, word [edi + 0x196]
test al, 4
je 0x47adc4
xor eax, 4
mov word [edi + 0x196], ax
jmp 0x47adca
mov dword [edi + 0x258], ebx
call fcn.0045e549
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x48]
mov dword [edi + 0x25c], eax
call fcn.0045fe41
lea ecx, [esp + 0x38]
call fcn.0045f5ed
xor eax, eax
jmp 0x47ae11
push dword [esp + 0x64]
push 0x70
mov ebx, edi
call fcn.00469067
lea ecx, [esp + 0x48]
call fcn.0045fe41
lea ecx, [esp + 0x38]
call fcn.0045f5ed
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc