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

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x40]
test bh, bh
push 0xc00000
mov dword [esp + 0x30], 0xc00000
mov dword [esp + 0x34], 0
call fcn.1010136f
add esp, 4
mov ebx, eax
mov edi, edi
test ebx, ebx
jne 0x10047cac
pop edi
pop ebp
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x38]
push eax
call fcn.10068fc0
add esp, 4
mov byte [esp + 0xc], al
test dh, dh
cmp ebp, dword [esp + 0x4c]
ja 0x10047e86
jb 0x10047cd9
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x48]
ja 0x10047e86
push esi
lea ebx, [ebx]
test edx, edx
test ebx, ebx
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebp
push edi
push edx
call fcn.10047a00
add esp, 0x24
test al, al
je 0x10047e83
cmp dword [esp + 0x44], 0x1000
mov ebp, dword [esp + 0x28]
jne 0x10047e5b
cmp dword [esp + 0x14], 0x40000
je 0x10047e5b
test dword [esp + 0x18], 0x123
jne 0x10047e5b
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
ja 0x10047dab
jb 0x10047d5d
cmp dword [esp + 0x30], esi
jae 0x10047dab
mov dword [esp + 0x1c], ebx
test dh, dh
push esi
push ebx
call fcn.10101a3a
add esp, 8
mov ebx, eax
push ecx
pop ecx
test ebx, ebx
jne 0x10047d9d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10047d88
push eax
call fcn.10101432
add esp, 4
mov dl, dl
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
add edi, esi
adc ebp, dword [esp + 0x24]
mov cl, cl
jmp 0x10047e6d
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
test edx, edx
mov edx, dword [esp + 0x3c]
push 0
push esi
mov esi, dword [esp + 0x34]
push ebx
push esi
push ebp
push edx
call fcn.10064a50
add esp, 0x18
test eax, eax
je 0x10047e5f
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x54]
add eax, ebx
mov dword [esp + 0x1c], eax
test eax, 0x5129
sub edi, ebp
add edi, ebx
test edi, edi
cmp edi, eax
jae 0x10047e5f
jmp 0x10047df0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
push edi
call dword [esp + 0x88]
add esp, 0x14
cmp eax, 1
jne 0x10047e4b
mov ebx, ebx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, ebx
sbb edx, eax
add ecx, ebp
adc edx, esi
push edx
push ecx
mov ecx, dword [esp + 0x78]
lea esi, [esp + 0x7c]
call fcn.10047850
add esp, 0x14
mov cl, cl
mov esi, dword [esp + 0x2c]
add edi, dword [esp + 0x70]
push ecx
pop ecx
cmp edi, dword [esp + 0x1c]
jb 0x10047df0
test edx, edx
jmp 0x10047e5f
mov esi, dword [esp + 0x2c]
add ebp, dword [esp + 0x20]
adc esi, dword [esp + 0x24]
mov edi, ebp
mov ebp, esi
push ebx
pop ebx
cmp ebp, dword [esp + 0x50]
jb 0x10047ce0
ja 0x10047e83
cmp edi, dword [esp + 0x4c]
jbe 0x10047ce0
test esi, esi
pop esi
test ebx, ebx
je 0x10047e95
push ebx
call fcn.10101432
add esp, 4
test edx, edx
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret