Function at 0x431a30
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x179c
call fcn.00465dc0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x3e0]
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x3f0]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x90], ebx
jne 0x431a72
mov edx, dword [ecx + 0x78]
jmp 0x431a78
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x40], edx
jne 0x431a89
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x34], eax
jmp 0x431a93
mov edx, dword [ecx + 0x1bc]
mov dword [esp + 0x34], edx
call fcn.004474f0
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431aa5
sub eax, edx
mov dword [esp + 0x30], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x8a8]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x10a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x4a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x13a8]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xca8]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x554]
mov eax, dword [esi + 0x54c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], ecx
jge 0x431b29
lea edx, [eax + ecx]
test edx, edx
jge 0x431b29
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x34]
add ecx, eax
cmp edx, ecx
jae 0x431b41
sub edx, eax
cmp ecx, esi
mov dword [esp + 0x18], edx
jge 0x431b41
mov dword [esp + 0x18], esi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
call fcn.00446b50
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x550]
shl eax, 1
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], edi
jle 0x431cbd
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x10a8]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x14]
movsx edx, byte [ecx]
push edx
call fcn.00466312
add esp, 4
test eax, eax
je 0x431bd9
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 2
push eax
push ecx
call fcn.00465720
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
add esp, 0xc
lea edx, [esp + 0x74]
push edx
push 2
push eax
push ecx
call dword [0x489030]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x431c04
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push 1
push edx
push eax
call fcn.00465720
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
push 1
push edx
push eax
call dword [0x489030]
mov eax, dword [esp + 0x74]
shl eax, 1
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + edi*4 + 0x8a8], eax
mov dword [esp + edi*4 + 0x4a8], ecx
mov dword [esp + edi*4 + 0xa8], eax
jge 0x431c49
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x4a8], esi
jge 0x431c49
mov dword [esp + edi*4 + 0x4a8], ecx
mov dword [esp + edi*4 + 0xa8], ecx
mov ecx, dword [esp + 0x40]
lea edx, [eax + esi]
cmp ecx, edx
jae 0x431c75
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0xa8], eax
jae 0x431c75
xor eax, eax
mov dword [esp + edi*4 + 0x4a8], eax
mov dword [esp + edi*4 + 0xa8], eax
jmp 0x431c77
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [esp + edi*4 + 0x13a8], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + edi*4 + 0xca8], eax
mov eax, dword [esp + 0x10]
inc edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x431b86
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x4c]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00446b90
mov ecx, esi
call fcn.00446eb0
mov ecx, dword [esp + 0x3c]
add ecx, 0x194
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], ecx
call fcn.00446eb0
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x53c]
mov ecx, dword [edi + 0x540]
mov esi, eax
mov eax, 1
mov dword [esp + 0x58], edx
mov edx, dword [edi + 0x544]
mov dword [edi + 0x53c], eax
mov dword [edi + 0x540], eax
mov dword [edi + 0x544], eax
mov eax, dword [edi + 0x554]
mov dword [esp + 0x5c], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0x550]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x80], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edx
mov dword [esp + 0x30], 0
jge 0x431d6d
xor eax, eax
test ecx, ecx
jge 0x431d73
xor ecx, ecx
mov dword [edi + 0x550], eax
mov eax, dword [edi + 0x3dc]
push 0x489bd5
mov dword [edi + 0x554], ecx
push eax
mov ecx, edi
call fcn.00428780
mov eax, dword [edi + 0x54c]
imul eax, dword [esp + 0x40]
add eax, dword [edi + 0x548]
mov ecx, dword [esp + 0x58]
imul ecx, ecx, 0x1f
mov dword [esp + 0x8c], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x5c]
imul edx, edx, 0x1f
mov dword [esp + 0x2c], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x2c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x44]
imul edx, edx, 0x1f
shl ecx, 5
or ecx, eax
mov dword [esp + 0x2c], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x2c]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x14], 0
jle 0x4323ca
lea ecx, [esp + 0x10a8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x88]
test edx, edx
jle 0x431ecb
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x8a8]
mov edi, dword [esp + 0x70]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
sub edi, ebx
dec edx
mov eax, 0x88888889
mul edx
shr edx, 0xa
inc edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
jmp 0x431e80
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
nop
mov edx, dword [esp + 0x10]
add edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, 0x780
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jne 0x431e77
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431ed2
sub eax, edx
cmp dword [edi + 0x538], 0xa8c
mov edx, dword [edi + 0x3dc]
mov ecx, 8
jne 0x431efb
mov ecx, dword [edi + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x1c]
push eax
push 8
push ecx
push edx
call dword [0x48902c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + edx*4 + 0x4a8]
mov edx, dword [esp + edx*4 + 0xa8]
mov dword [esp + 0x64], ecx
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x50], ecx
mov ecx, edx
mov dword [esp + 0xa0], edx
sub ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x14]
shl ecx, 1
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + edx*4 + 0xca8]
mov edx, dword [esp + edx*4 + 0x13a8]
sub ecx, edx
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
jle 0x432063
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x432040
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x70]
mov dword [esp + 0xc], edx
mov edx, edi
sub edx, ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
lea ecx, [eax + ebx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
nop
mov edx, dword [esp + 0x24]
cmp byte [ecx + edx], 0
jne 0x43200b
movzx edx, byte [eax + edi - 3]
movzx ecx, byte [eax + edi - 0x780]
add ecx, edx
movzx edx, byte [eax + edi + 0x780]
add ecx, edx
movzx edx, byte [eax + edi + 3]
add ecx, edx
je 0x431fd7
mov ecx, dword [esp + 0xc]
mov word [ecx], 0x3def
jmp 0x432017
mov edx, dword [esp + 0xc]
mov word [edx], 0
movzx edx, byte [eax + edi - 6]
movzx ecx, byte [eax + edi - 0xf00]
add ecx, edx
movzx edx, byte [eax + edi + 0xf00]
add ecx, edx
movzx edx, byte [eax + edi + 6]
add ecx, edx
mov ecx, dword [esp + 0x10]
setne dl
mov byte [ecx], dl
jmp 0x43201e
mov cx, word [esp + 0x7c]
mov edx, dword [esp + 0xc]
mov word [edx], cx
mov ecx, dword [esp + 0x10]
mov byte [ecx], 1
add dword [esp + 0xc], 2
mov edx, dword [esp + 0x20]
add ecx, 3
add eax, 3
dec edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], edx
jne 0x431fa0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x38]
add edx, 0x500
dec ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
jne 0x431f70
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x8a8]
neg eax
add ecx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + eax*4 + 0xca8]
mov eax, dword [esp + eax*4 + 0x13a8]
cmp eax, ecx
mov edx, 0x3c18
mov dword [esp + 0x20], edx
jge 0x432399
lea ecx, [eax + eax*4]
shl ecx, 7
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [esp + ecx*4 + 0xca8]
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0x38], eax
jge 0x432361
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0xa8]
mov dword [esp + 0x94], ecx
jmp 0x432110
movzx edi, byte [ebx + edx + 0x783]
movzx eax, byte [ebx + edx - 0x783]
movzx ecx, byte [ebx + edx - 3]
and eax, edi
movzx edi, byte [ebx + edx + 3]
and edi, ecx
movzx ecx, byte [ebx + edx + 0x77d]
or eax, edi
mov edi, ecx
movzx ecx, byte [ebx + edx - 0x77d]
and edi, ecx
movzx ecx, byte [ebx + edx - 0x780]
or eax, edi
mov edi, ecx
movzx ecx, byte [ebx + edx + 0x780]
and edi, ecx
or eax, edi
movzx edi, byte [ebx + edx]
and eax, edi
movzx edi, byte [ebx + edx - 0x780]
add eax, edi
movzx edi, byte [ebx + edx]
add eax, edi
movzx edi, byte [ebx + edx + 3]
add eax, edi
movzx edi, byte [ebx + edx - 3]
add eax, edi
movzx edi, byte [ebx + edx + 0x77d]
add eax, edi
movzx edi, byte [ebx + edx - 0x77d]
add eax, edi
add eax, ecx
je 0x432335
imul eax, eax, 0xff
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
sar eax, 3
add ecx, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
movzx edx, byte [eax + edx]
mov edi, 0xff
sub edi, ebx
imul edi, edx
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shl ecx, 1
shr edi, 0x1f
add edi, edx
movzx edx, word [esi + ecx*2 + 0x502]
lea eax, [edi + ebx]
mov dword [esp + 0x10], eax
movzx eax, word [esi + ecx*2 + 0x500]
mov dword [esp + 0x24], eax
movzx eax, word [esi + ecx*2 + 2]
mov dword [esp + 0x28], eax
movzx eax, word [esi + ecx*2]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0xc]
movzx esi, word [ecx + esi*2]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
and eax, 0x7c00
mov dword [esp + 0x6c], edx
and ecx, 0x7c00
add eax, ecx
mov ecx, dword [esp + 0x24]
and edx, 0x7c00
and ecx, 0x7c00
add eax, ecx
add eax, edx
sar eax, 0xc
and eax, 0x1f
shl eax, 3
imul eax, ebx
mov edx, esi
shr edx, 7
and edx, 0xf8
imul edx, edi
add eax, edx
xor edx, edx
div dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
and ecx, 0x3e0
and edx, 0x3e0
shr eax, 3
shl eax, 5
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
and eax, 0x3e0
add eax, ecx
mov ecx, dword [esp + 0x6c]
add eax, edx
and ecx, 0x3e0
add eax, ecx
sar eax, 7
and eax, 0x1f
shl eax, 3
mov edx, esi
imul eax, ebx
shr edx, 2
and edx, 0xf8
imul edx, edi
add eax, edx
xor edx, edx
div dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
shr eax, 3
or ecx, eax
mov eax, dword [esp + 0x54]
shl ecx, 5
and eax, 0x1f
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x24]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x6c]
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x10]
shl eax, 1
and esi, 0x1f
and eax, 0xf8
imul eax, ebx
shl esi, 3
imul esi, edi
add eax, esi
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x90]
shr eax, 3
or edx, eax
mov eax, dword [esp + 0xc]
mov word [esi + eax*2], dx
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x98]
mov byte [eax + edx], cl
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
inc ecx
add edx, 6
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x94]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
jl 0x432110
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xc]
add ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x2c]
add ecx, 0x280
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jne 0x4320e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x8a8]
mov edx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
inc eax
add edx, 3
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x431e31
mov eax, dword [edi + 0x42c]
test eax, eax
je 0x4323fd
mov edx, dword [edi + 0x3dc]
push eax
push edx
call dword [0x48904c]
mov eax, dword [edi + 0x428]
push eax
call dword [0x489054]
xor eax, eax
mov dword [edi + 0x428], eax
mov dword [edi + 0x42c], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
mov dword [edi + 0x53c], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x540], edx
mov edx, dword [esp + 0x80]
mov dword [edi + 0x550], ecx
mov ecx, dword [esp + 0x84]
mov dword [edi + 0x544], eax
mov dword [edi + 0x554], edx
call fcn.00446f20
mov ecx, dword [ebp + 8]
call fcn.00446f20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8