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

Disassembly:
sub esp, 0x7c
mov dword [esp + 0x14], ebp
xor ebp, ebp
mov dword [esp + 0x18], esi
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x78], eax
cmp dword [eax + 0xac], esi
je 0x431bc6
lea ecx, [eax + 0xa8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [edx]
mov ebx, dword [ecx + esi*4]
cmp byte [ebx + 0x4c], 0
je 0x431a2e
mov dword [esp + 0x48], esi
xor esi, esi
cmp dword [ebx + 0x40], esi
je 0x431bb4
mov ecx, dword [ebx + 0x48]
cmp byte [ecx + esi], 8
ja 0x431a1f
mov edx, dword [ebx + 8]
bt dword [edx], esi
jb 0x431a1f
mov ecx, esi
shl ecx, 0xc
add ecx, dword [ebx]
cmp dword [ebx + 0x1c], 0
je 0x43199a
lea eax, [ebx + 0x18]
mov edx, dword [eax]
btr dword [edx], esi
jae 0x43199a
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + esi*4]
shl edx, 0xc
xor edi, edi
cmp dword [ebx + 0x1c], edi
je 0x431942
lea eax, [ebx + 0x18]
mov eax, dword [eax]
bt dword [eax], esi
jae 0x431942
mov edi, 1
cmp dword [ebx + 0x24], 0
je 0x431958
lea eax, [ebx + 0x20]
mov eax, dword [eax]
bt dword [eax], esi
jae 0x431958
or edi, 0x20
mov eax, dword [ebx + 0x28]
bt dword [eax], esi
jae 0x431966
or edi, 2
cmp dword [ebx + 0x3c], 0
je 0x43197c
lea eax, [ebx + 0x38]
mov eax, dword [eax]
bt dword [eax], esi
jae 0x43197c
or edi, 0x10
mov eax, dword [ebx + 0x30]
bt dword [eax], esi
jae 0x43198a
or edi, 8
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004418a8
mov edi, esi
mov ecx, esi
mov eax, 1
and ecx, 0x1f
shl eax, cl
shr edi, 5
cmp dword [ebx + 0x24], 0
not eax
je 0x4319bc
mov edx, dword [ebx + 0x20]
and dword [edx + edi*4], eax
mov ecx, dword [ebx + 0x28]
and dword [ecx + edi*4], eax
mov edx, dword [ebx + 0x30]
and dword [edx + edi*4], eax
cmp dword [ebx + 0x3c], 0
je 0x4319d4
mov ecx, dword [ebx + 0x38]
and dword [ecx + edi*4], eax
mov edx, dword [ebx + 0x48]
mov byte [edx + esi], 0xa
cmp esi, dword [ebx + 0x58]
jae 0x4319e3
mov dword [ebx + 0x58], esi
inc dword [ebx + 0x44]
inc ebp
lea ecx, [esi + 1]
cmp ecx, dword [ebx + 0x40]
jae 0x431a19
mov edx, dword [ebx + 0x48]
add edx, esi
cmp byte [edx + 1], 9
jne 0x431a19
inc esi
mov ecx, dword [ebx + 0x48]
inc ebp
mov byte [ecx + esi], 0xa
lea edx, [esi + 1]
inc dword [ebx + 0x44]
cmp edx, dword [ebx + 0x40]
jae 0x431a19
mov ecx, dword [ebx + 0x48]
add ecx, esi
cmp byte [ecx + 1], 9
je 0x4319fa
mov edx, dword [ebx + 0x44]
mov dword [ebx + 0x5c], edx
inc esi
cmp esi, dword [ebx + 0x40]
jb 0x4318ef
jmp 0x431bb4
mov dword [esp + 0x48], esi
xor esi, esi
cmp dword [ebx + 0x40], esi
je 0x431bb4
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], esi
mov ecx, dword [ebx + 0x48]
movzx edx, byte [ecx + esi]
cmp dl, 8
jae 0x431b9a
mov dword [esp + 0x68], ebp
mov ecx, dword [ebx]
add ecx, dword [esp + 0x4c]
lea eax, [ecx + 0x1000]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], eax
movzx edi, dl
mov edi, dword [edi*4 + 0x46ceb0]
mov dword [esp + 0x5c], edi
shr edi, 4
mov ecx, 8
mov dword [esp + 0x54], edi
xor eax, eax
lea edi, [esp + 0x20]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [esp + 0x58]
jae 0x431b82
lea edx, [ebx + 0x18]
lea eax, [ebx + 8]
mov dword [esp + 0x50], edx
mov edi, dword [esp + 0x64]
mov ecx, dword [eax]
add edi, ebp
bt dword [ecx], edi
jb 0x431b68
mov dword [esp + 0x60], eax
mov edx, dword [ebx + 0x1c]
test edx, edx
je 0x431b56
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
bt dword [eax], edi
jae 0x431b56
mov dword [esp + 0x70], ebp
xor ebp, ebp
test edx, edx
je 0x431af2
lea edx, [ebx + 0x18]
mov ecx, dword [edx]
bt dword [ecx], edi
jae 0x431af2
mov ebp, 1
cmp dword [ebx + 0x24], 0
je 0x431b08
lea edx, [ebx + 0x20]
mov ecx, dword [edx]
bt dword [ecx], edi
jae 0x431b08
or ebp, 0x20
mov edx, dword [ebx + 0x28]
bt dword [edx], edi
jae 0x431b16
or ebp, 2
cmp dword [ebx + 0x3c], 0
je 0x431b2c
lea ecx, [ebx + 0x38]
mov edx, dword [ecx]
bt dword [edx], edi
jae 0x431b2c
or ebp, 0x10
mov ecx, dword [ebx + 0x30]
bt dword [ecx], edi
jae 0x431b3a
or ebp, 8
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ebp
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004418a8
mov ebp, dword [esp + 0x70]
mov byte [esp + 0x74], 1
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x20]
mov ecx, ebp
bts dword [edx], ecx
add ebp, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [esp + 0x58]
jb 0x431aae
cmp byte [esp + 0x74], 0
mov ebp, dword [esp + 0x68]
je 0x431b9a
push esi
lea edx, [esp + 0x24]
mov eax, ebx
push edx
call fcn.004415e4
add dword [esp + 0x64], 0x100
add dword [esp + 0x4c], 0x1000
inc esi
cmp esi, dword [ebx + 0x40]
jb 0x431a45
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
inc esi
cmp esi, dword [eax + 4]
jb 0x4318cd
mov esi, dword [esp + 0x78]
mov ebx, ebp
mov eax, ebx
sub dword [esi + 0xe4], ebx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 0x7c
ret