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

Disassembly:
push 0xffffffffffffffff
push 0x490620
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc8]
push pe_nt_image_headers32
mov edi, ecx
push 0xf
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
call fcn.00470500
mov cl, byte [ebp + 0x30]
push 0x100
mov dword [esp + 0x28], eax
add eax, 8
push 0
push eax
mov byte [esp + 0x37], cl
call fcn.004553e0
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp esi, dword [ebp + 0x10]
jbe 0x47aaa3
call fcn.0045067c
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp dword [ebp + 0xc], eax
jbe 0x47aabb
call fcn.0045067c
mov edx, dword [ebp]
mov dword [esp + 0x3c], edx
test ebx, ebx
je 0x47aacc
cmp ebx, dword [esp + 0x3c]
je 0x47aad1
call fcn.0045067c
cmp esi, dword [esp + 0x18]
je 0x47ab77
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
cmp byte [edi + 0xc], 0
je 0x47aafc
mov eax, dword [edi + 4]
mov eax, dword [eax]
movzx edx, bl
mov dl, byte [eax + edx + 0x104]
mov byte [esp + 0x14], dl
jmp 0x47ab00
mov byte [esp + 0x14], bl
test ecx, ecx
jne 0x47ab6f
call fcn.0045067c
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47ab1d
call fcn.0045067c
mov ecx, dword [esp + 0x1c]
cmp byte [edi + 0xc], 0
mov al, byte [esi]
je 0x47ab34
mov edx, dword [edi + 4]
mov edx, dword [edx]
movzx eax, al
mov al, byte [edx + eax + 0x104]
cmp byte [esp + 0x14], al
jne 0x47ab45
mov eax, dword [esp + 0x24]
add eax, 8
mov byte [eax + ebx], 1
inc ebx
cmp ebx, 0x100
jb 0x47aae1
test ecx, ecx
jne 0x47ab73
call fcn.0045067c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47ab63
call fcn.0045067c
mov ebx, dword [esp + 0x1c]
add esi, 2
jmp 0x47aac2
mov eax, dword [ecx]
jmp 0x47ab0f
mov eax, dword [ecx]
jmp 0x47ab59
mov esi, dword [ebp + 0x24]
cmp esi, dword [ebp + 0x28]
jbe 0x47ab84
call fcn.0045067c
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], eax
cmp dword [ebp + 0x24], eax
jbe 0x47aba0
call fcn.0045067c
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x34], ecx
mov ebp, edi
jmp 0x47abb4
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test edi, edi
je 0x47abc6
cmp edi, dword [esp + 0x34]
je 0x47abcb
call fcn.0045067c
cmp esi, dword [esp + 0x3c]
je 0x47af1c
test edi, edi
jne 0x47ae96
call fcn.0045067c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47abee
call fcn.0045067c
cmp byte [ebp + 0xc], 0
mov al, byte [esi]
mov ecx, dword [ebp + 4]
je 0x47ac05
mov ecx, dword [ecx]
movzx edx, al
mov al, byte [edx + ecx + 0x104]
mov byte [esp + 0x14], al
test edi, edi
jne 0x47ae9d
call fcn.0045067c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47ac22
call fcn.0045067c
add esi, 2
test edi, edi
jne 0x47aea4
call fcn.0045067c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47ac3e
call fcn.0045067c
cmp byte [ebp + 0xc], 0
mov bl, byte [esi]
mov eax, dword [ebp + 4]
je 0x47ac55
mov eax, dword [eax]
movzx ecx, bl
mov bl, byte [ecx + eax + 0x104]
test edi, edi
jne 0x47aeab
call fcn.0045067c
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x47ac6e
call fcn.0045067c
mov edx, dword [ebp]
mov al, byte [esp + 0x14]
add esi, 2
test dword [edx + 0x20], 0x200000
mov dword [esp + 0x20], esi
je 0x47aeb2
lea ecx, [esp + 0x19]
push ecx
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], al
push edx
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x25], 0
call fcn.004711d0
lea ecx, [esp + 0x19]
push ecx
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0xcc], 0
mov byte [esp + 0x24], bl
call fcn.004711d0
cmp dword [esp + 0x94], 0x10
mov edx, dword [esp + 0x80]
mov byte [esp + 0xc0], 1
jae 0x47acf2
lea edx, [esp + 0x80]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x90]
mov ecx, esi
cmp esi, edi
jb 0x47ad05
mov ecx, edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x64]
mov eax, ebp
cmp ebx, 0x10
jae 0x47ad18
lea eax, [esp + 0x64]
push ecx
push edx
push eax
call fcn.0046bef0
add esp, 0xc
test eax, eax
jne 0x47ad36
cmp esi, edi
jb 0x47aed8
cmp esi, edi
setne al
test eax, eax
jl 0x47aed8
mov dword [esp + 0x14], 0
mov cl, byte [esp + 0x14]
lea edx, [esp + 0x19]
push edx
mov edx, dword [esp + 0x30]
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edx + 4]
call fcn.004711d0
cmp dword [esp + 0x94], 0x10
mov edx, dword [esp + 0x80]
jae 0x47ad7f
lea edx, [esp + 0x80]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x90]
mov ecx, edi
cmp edi, esi
jb 0x47ad92
mov ecx, esi
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x48]
mov eax, ebp
cmp ebx, 0x10
jae 0x47ada5
lea eax, [esp + 0x48]
push ecx
push edx
push eax
call fcn.0046bef0
add esp, 0xc
test eax, eax
jne 0x47adbf
cmp edi, esi
jb 0x47ae12
cmp edi, esi
setne al
test eax, eax
jl 0x47ae12
mov edx, ebp
cmp ebx, 0x10
jae 0x47adcc
lea edx, [esp + 0x48]
mov esi, dword [esp + 0x74]
mov ecx, esi
cmp esi, edi
jb 0x47add8
mov ecx, edi
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x47ade7
lea eax, [esp + 0x64]
push ecx
push edx
push eax
call fcn.0046bef0
add esp, 0xc
test eax, eax
jne 0x47ae01
cmp esi, edi
jb 0x47ae12
cmp esi, edi
setne al
test eax, eax
jl 0x47ae12
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add eax, 8
mov byte [eax + ecx], 1
mov byte [esp + 0xc0], 1
cmp ebx, 0x10
jb 0x47ae28
push ebp
call fcn.0042e69b
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x100
jb 0x47ad44
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x47ae54
mov edx, dword [esp + 0x64]
push edx
call fcn.0042e69b
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x94], esi
jb 0x47abb0
mov eax, dword [esp + 0x80]
push eax
call fcn.0042e69b
add esp, 4
jmp 0x47abb0
mov eax, dword [edi]
jmp 0x47abe4
mov eax, dword [edi]
jmp 0x47ac18
mov eax, dword [edi]
jmp 0x47ac34
mov eax, dword [edi]
jmp 0x47ac64
cmp bl, al
jb 0x47af15
mov edx, dword [esp + 0x24]
movzx eax, al
movzx ecx, bl
sub ecx, eax
inc ecx
push ecx
lea eax, [eax + edx + 8]
push 1
push eax
call fcn.004553e0
add esp, 0xc
jmp 0x47abbc
cmp ebx, 0x10
jb 0x47aee6
push ebp
call fcn.0042e69b
add esp, 4
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
jb 0x47af15
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0042e69b
add esp, 4
xor eax, eax
jmp 0x47b212
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx + 0x34]
test eax, 0x100000
je 0x47af49
mov eax, dword [ebp + 0x58]
mov ecx, eax
and ecx, edi
cmp ecx, eax
je 0x47af46
mov eax, dword [ebp + 0x5c]
mov edx, eax
and edx, edi
cmp edx, eax
jne 0x47af49
or edi, dword [ebp + 0x60]
test edi, edi
je 0x47af72
xor esi, esi
nop
mov ecx, dword [ebp + 4]
push edi
push esi
call fcn.0046c580
test al, al
je 0x47af69
mov eax, dword [esp + 0x24]
add eax, 8
mov byte [eax + esi], 1
inc esi
cmp esi, 0x100
jb 0x47af50
mov eax, dword [ebp]
test dword [eax + 0x20], 0x100000
mov edi, dword [ebx + 0x38]
je 0x47af9a
mov eax, dword [ebp + 0x58]
mov ecx, eax
and ecx, edi
cmp ecx, eax
je 0x47af97
mov eax, dword [ebp + 0x5c]
mov edx, eax
and edx, edi
cmp edx, eax
jne 0x47af9a
or edi, dword [ebp + 0x60]
test edi, edi
je 0x47afc2
xor esi, esi
mov ecx, dword [ebp + 4]
push edi
push esi
call fcn.0046c580
test al, al
jne 0x47afb9
mov eax, dword [esp + 0x24]
add eax, 8
mov byte [eax + esi], 1
inc esi
cmp esi, 0x100
jb 0x47afa0
mov esi, dword [ebx + 0x4c]
cmp esi, dword [ebx + 0x50]
jbe 0x47afcf
call fcn.0045067c
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x4c], eax
jbe 0x47afeb
call fcn.0045067c
mov ecx, dword [ebx + 0x40]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp esi, ebx
je 0x47b002
cmp esi, dword [esp + 0x34]
je 0x47b007
call fcn.0045067c
mov edi, dword [esp + 0x20]
cmp edi, dword [esp + 0x30]
je 0x47b1ec
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], 0
mov dword [esp + 0xc0], 3
cmp esi, ebx
jne 0x47b1bf
call fcn.0045067c
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47b04a
call fcn.0045067c
cmp esi, ebx
jne 0x47b1c6
call fcn.0045067c
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47b063
call fcn.0045067c
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 4]
lea edx, [edi + 1]
push edx
push edi
lea eax, [esp + 0xa0]
push eax
call fcn.00478c40
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xcc], 4
call fcn.004020b0
mov esi, 0x10
mov byte [esp + 0xc0], 3
cmp dword [esp + 0xb0], esi
jb 0x47b0b7
mov edx, dword [esp + 0x9c]
push edx
call fcn.0042e69b
add esp, 4
cmp dword [esp + 0x58], ebx
je 0x47b1d1
lea eax, [esp + 0x15]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
lea edx, [esp + 0xa0]
push edx
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0
call fcn.00478c40
mov ebp, dword [esp + 0xb0]
mov edx, dword [esp + 0x9c]
cmp ebp, 0x10
jae 0x47b102
lea edx, [esp + 0x9c]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0xac]
mov ecx, esi
cmp esi, edi
jb 0x47b115
mov ecx, edi
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x47b124
lea eax, [esp + 0x48]
push ecx
push edx
push eax
call fcn.0046bef0
add esp, 0xc
test eax, eax
jne 0x47b14b
cmp esi, edi
jb 0x47b14b
cmp esi, edi
setne al
test eax, eax
jne 0x47b14b
mov eax, dword [esp + 0x24]
add eax, 8
mov byte [eax + ebx], 1
mov byte [esp + 0xc0], 3
cmp ebp, 0x10
jb 0x47b168
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0042e69b
add esp, 4
inc ebx
cmp ebx, 0x100
jb 0x47b0c1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x47b1cd
call fcn.0045067c
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x10]
jb 0x47b192
call fcn.0045067c
add dword [esp + 0x20], 2
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0xc0], 0xffffffff
jb 0x47aff2
mov eax, dword [esp + 0x48]
push eax
call fcn.0042e69b
add esp, 4
jmp 0x47aff2
mov eax, dword [esi]
jmp 0x47b040
mov eax, dword [esi]
jmp 0x47b059
mov eax, dword [eax]
jmp 0x47b184
cmp dword [esp + 0x5c], esi
jb 0x47af15
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042e69b
add esp, 4
xor eax, eax
jmp 0x47b212
cmp byte [esp + 0x2b], 0
je 0x47b20e
mov eax, dword [esp + 0x24]
add eax, 8
mov ecx, 0x100
nop
cmp byte [eax], 0
sete dl
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x47b200
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044e1ea
add esp, 0xb0
ret 8