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

Disassembly:
push 0xffffffffffffffff
push 0x4a9aa0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], 0
mov edx, dword [ebx + 0x7c]
xor ebp, ebp
test dl, dl
je 0x31dbae
test dl, 1
je 0x31da5e
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x31da31
lea eax, [ebp + 1]
jmp 0x31da5a
cmp ecx, 0x4000
jae 0x31da40
mov eax, 2
jmp 0x31da5a
cmp ecx, 0x200000
jae 0x31da4f
mov eax, 3
jmp 0x31da5a
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
lea ebp, [ecx + eax + 1]
mov eax, edx
shr eax, 1
test al, 1
je 0x31daa1
mov eax, dword [ebx + 0x74]
cmp eax, 0x80
jae 0x31da77
mov eax, 1
jmp 0x31da9d
cmp eax, 0x4000
jae 0x31da85
mov eax, 2
jmp 0x31da9d
cmp eax, 0x200000
jae 0x31da93
mov eax, 3
jmp 0x31da9d
cmp eax, 0x10000000
sbb eax, eax
add eax, 5
lea ebp, [eax + ebp + 1]
mov ecx, edx
shr ecx, 2
test cl, 1
je 0x31daef
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x31dac0
mov eax, 1
jmp 0x31dae9
cmp ecx, 0x4000
jae 0x31dacf
mov eax, 2
jmp 0x31dae9
cmp ecx, 0x200000
jae 0x31dade
mov eax, 3
jmp 0x31dae9
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
lea ebp, [ecx + ebp + 1]
mov eax, edx
shr eax, 3
test al, 1
je 0x31db3c
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x31db0d
mov eax, 1
jmp 0x31db36
cmp ecx, 0x4000
jae 0x31db1c
mov eax, 2
jmp 0x31db36
cmp ecx, 0x200000
jae 0x31db2b
mov eax, 3
jmp 0x31db36
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
lea ebp, [ecx + ebp + 1]
shr edx, 4
test dl, 1
je 0x31db5f
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x31db54
mov ecx, dword [0x52d710]
mov eax, dword [ecx + 0x14]
mov ecx, eax
call fcn.003266e0
lea ebp, [eax + ebp + 1]
mov edx, dword [ebx + 0x7c]
shr edx, 5
test dl, 1
je 0x31dbae
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x31db7f
mov eax, 1
jmp 0x31dba8
cmp ecx, 0x4000
jae 0x31db8e
mov eax, 2
jmp 0x31dba8
cmp ecx, 0x200000
jae 0x31db9d
mov eax, 3
jmp 0x31dba8
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
lea ebp, [ecx + ebp + 1]
mov eax, dword [ebx + 0x20]
add ebp, eax
test eax, eax
jle 0x31dc03
mov edx, dword [ebx + 0x1c]
mov esi, eax
lea esp, [esp]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x31dbd3
mov ecx, 1
jmp 0x31dbf9
cmp eax, 0x4000
jae 0x31dbe1
mov ecx, 2
jmp 0x31dbf9
cmp eax, 0x200000
jae 0x31dbef
mov ecx, 3
jmp 0x31dbf9
cmp eax, 0x10000000
sbb ecx, ecx
add ecx, 5
add eax, ecx
add ebp, eax
add edx, 4
dec esi
jne 0x31dbc0
mov edi, dword [ebx + 0x40]
xor edx, edx
test edi, edi
jle 0x31dc4f
mov ecx, dword [ebx + 0x3c]
mov esi, edi
mov eax, dword [ecx]
cmp eax, 0x80
jae 0x31dc21
mov eax, 1
jmp 0x31dc47
cmp eax, 0x4000
jae 0x31dc2f
mov eax, 2
jmp 0x31dc47
cmp eax, 0x200000
jae 0x31dc3d
mov eax, 3
jmp 0x31dc47
cmp eax, 0x10000000
sbb eax, eax
add eax, 5
add edx, eax
add ecx, 4
dec esi
jne 0x31dc11
add edi, edx
add ebp, edi
mov edi, dword [ebx + 0x5c]
xor ecx, ecx
test edi, edi
jle 0x31dc9f
mov edx, dword [ebx + 0x58]
mov esi, edi
mov eax, dword [edx]
cmp eax, 0x80
jae 0x31dc71
mov eax, 1
jmp 0x31dc97
cmp eax, 0x4000
jae 0x31dc7f
mov eax, 2
jmp 0x31dc97
cmp eax, 0x200000
jae 0x31dc8d
mov eax, 3
jmp 0x31dc97
cmp eax, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
add edx, 4
dec esi
jne 0x31dc61
add edi, ecx
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
add ebp, edi
test ecx, ecx
je 0x31dcbf
mov edx, dword [ecx]
cmp edx, dword [ecx + 4]
je 0x31dcbf
push eax
call fcn.003d5b00
add esp, 4
add ebp, eax
mov dword [ebx + 0x78], ebp
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438a41
add esp, 0x14
ret