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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x178c
call fcn.0047ad40
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x3f0]
mov eax, dword [ebx + 0x3e0]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x228]
test eax, eax
push esi
push edi
mov dword [esp + 0x44], ebx
jne 0x43138f
mov edx, dword [ecx + 0x78]
jmp 0x431395
mov edx, dword [ecx + 0x1c0]
test eax, eax
mov dword [esp + 0x38], edx
jne 0x4313a2
mov esi, dword [ecx + 0x7c]
jmp 0x4313a8
mov esi, dword [ecx + 0x1bc]
call fcn.004608c0
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4313c0
sub eax, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x898]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1098]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x498]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1398]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xc98]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
mov ecx, dword [ebx + 0x554]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], ecx
jge 0x431444
lea edx, [eax + ecx]
test edx, edx
jge 0x431444
mov dword [esp + 0x18], edi
add ecx, eax
cmp esi, ecx
jae 0x431458
sub esi, eax
cmp ecx, edi
mov dword [esp + 0x18], esi
jge 0x431458
mov dword [esp + 0x18], edi
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
call fcn.0044a510
mov eax, dword [ebx + 0x550]
shl eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x1c], esi
jle 0x4315d7
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1098]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
lea esp, [esp]
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
push ecx
call fcn.0047b292
add esp, 4
test eax, eax
je 0x4314f3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.0047a710
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
push 2
push edx
push eax
call dword [0x49e02c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jmp 0x43151e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.0047a710
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push 1
push ecx
push edx
call dword [0x49e02c]
mov eax, dword [esp + 0x5c]
shl eax, 1
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + edi*4 + 0x898], eax
mov dword [esp + edi*4 + 0x498], ecx
mov dword [esp + edi*4 + 0x98], eax
jge 0x431563
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x498], esi
jge 0x431563
mov dword [esp + edi*4 + 0x498], ecx
mov dword [esp + edi*4 + 0x98], ecx
mov ecx, dword [esp + 0x38]
lea edx, [eax + esi]
cmp ecx, edx
jae 0x43158f
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0x98], eax
jae 0x43158f
xor eax, eax
mov dword [esp + edi*4 + 0x498], eax
mov dword [esp + edi*4 + 0x98], eax
jmp 0x431591
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [esp + edi*4 + 0x1398], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + edi*4 + 0xc98], eax
mov eax, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
jl 0x4314a0
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x40]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0044a550
mov ecx, esi
call fcn.0044a870
lea ecx, [ebx + 0x194]
mov dword [esp + 0x90], eax
mov dword [esp + 0x74], ecx
call fcn.0044a870
mov edx, dword [ebx + 0x540]
mov ecx, dword [ebx + 0x544]
mov edi, dword [ebx + 0x53c]
mov esi, eax
mov eax, 1
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x3c], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x6c], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x24], 0
jge 0x431679
xor eax, eax
test ecx, ecx
jge 0x43167f
xor ecx, ecx
mov edx, dword [ebx + 0x3dc]
push 0x49f285
mov dword [ebx + 0x554], ecx
push edx
mov ecx, ebx
mov dword [ebx + 0x550], eax
call fcn.00430530
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x38]
add eax, dword [ebx + 0x548]
mov dword [esp + 0x7c], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
imul ecx, ecx, 0x1f
mov eax, 0x80808081
imul edi, edi, 0x3f
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x80808081
imul edi
add edx, edi
mov edi, dword [esp + 0x3c]
sar edx, 7
imul edi, edi, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 6
or ecx, eax
mov eax, 0x80808081
imul edi
add edx, edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
shl ecx, 5
or ecx, eax
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x14], edi
jle 0x431b1f
lea ecx, [esp + 0x1098]
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov eax, dword [esp + 0x58]
xor edx, edx
test eax, eax
mov dword [esp + 0x2c], edx
jle 0x431787
mov edi, dword [esp + edi*4 + 0x898]
add edi, 8
lea ecx, [edi + edi*2]
shl ecx, 1
mov dword [esp + 0x28], ecx
jmp 0x431757
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
add edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x2c]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x431753
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x431790
sub eax, edx
cmp dword [ebx + 0x538], 0xa8c
mov edx, dword [ebx + 0x3dc]
mov ecx, 8
jne 0x4317b9
mov ecx, dword [ebx + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x20]
push eax
push 8
push ecx
push edx
call dword [0x49e04c]
mov edx, dword [esp + edi*4 + 0x98]
mov ecx, dword [esp + edi*4 + 0x498]
mov dword [esp + 0x4c], ecx
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x2c], ecx
mov ecx, edx
mov dword [esp + 0x8c], edx
sub ecx, dword [esp + 0x4c]
mov edx, dword [esp + edi*4 + 0x1398]
shl ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + edi*4 + 0xc98]
sub ecx, edx
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
jle 0x431921
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ecx
jmp 0x431830
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4318fe
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub ebx, ecx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ecx
jmp 0x431860
mov ebx, dword [esp + 0x28]
nop
cmp byte [ebx + edx], 0
jne 0x4318d3
mov ecx, dword [esp + 0x20]
movzx ebx, byte [eax + ecx - 0x780]
movzx ecx, byte [eax + ecx - 3]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 0x780]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 3]
add ebx, ecx
je 0x43189b
mov word [edi], 0x7bef
jmp 0x4318db
mov ecx, dword [esp + 0x20]
mov word [edi], 0
movzx ebx, byte [eax + ecx - 0xf00]
movzx ecx, byte [eax + ecx - 6]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 0xf00]
add ebx, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, byte [eax + ecx + 6]
add ebx, ecx
setne cl
mov byte [edx], cl
jmp 0x4318de
mov cx, word [esp + 0x64]
mov word [edi], cx
mov byte [edx], 1
mov ecx, dword [esp + 0x30]
add eax, 3
add edx, 3
add edi, 2
dec ecx
mov dword [esp + 0x30], ecx
jne 0x43185b
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x34]
add edx, 0x500
dec ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ecx
jne 0x431830
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
lea ecx, [edx + eax]
mov eax, dword [esp + edi*4 + 0x898]
mov edx, dword [esp + 0x38]
neg eax
add edx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x84], edx
mov edx, dword [esp + edi*4 + 0x1398]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + edi*4 + 0xc98]
cmp edx, eax
mov dword [esp + 0x10], 0x3c18
mov dword [esp + 0x18], ecx
jge 0x431af2
mov edi, dword [esp + edi*4 + 0xc98]
lea eax, [edx + edx*4]
shl eax, 7
sub edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
jmp 0x431990
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x8c]
mov dword [esp + 0x34], edx
jge 0x431abb
mov edi, dword [esp + 0x14]
mov edi, dword [esp + edi*4 + 0x98]
mov dword [esp + 0x80], edi
jmp 0x4319c0
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
cmp byte [ebx + edi], 0
je 0x431a93
add eax, edx
shl eax, 1
movzx ecx, word [esi + eax*2 + 0x502]
movzx edx, word [esi + eax*2 + 0x500]
movzx edi, word [esi + eax*2 + 2]
movzx eax, word [esi + eax*2]
mov ebx, eax
mov esi, edi
and esi, 0x1f
and ebx, 0x1f
add ebx, esi
mov esi, edx
and esi, 0x1f
add ebx, esi
mov esi, ecx
and esi, 0x1f
add ebx, esi
mov esi, eax
and esi, 0xf800
mov dword [esp + 0x70], edi
and edi, 0xf800
add esi, edi
mov edi, edx
and edi, 0xf800
add esi, edi
mov edi, ecx
and edi, 0xf800
add esi, edi
sar esi, 2
sar ebx, 2
and esi, 0xf800
and eax, 0x7e0
and ebx, 0x1f
or ebx, esi
mov esi, dword [esp + 0x70]
and esi, 0x7e0
add eax, esi
mov esi, dword [esp + 0x88]
and edx, 0x7e0
add eax, edx
mov edx, dword [esp + 0x78]
and ecx, 0x7e0
add eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 2
and eax, 0x7e0
or ebx, eax
mov eax, dword [esp + 0x90]
mov word [eax + ecx*2], bx
mov eax, dword [esp + 0x30]
mov byte [ecx + edx], 0xff
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
add edi, 6
inc ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x80]
inc edx
cmp edx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
jl 0x4319c0
mov edx, dword [esp + 0x84]
mov edi, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x28]
add eax, 0x280
dec edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
jne 0x431990
mov edi, dword [esp + 0x14]
mov eax, dword [esp + edi*4 + 0x898]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
inc edi
add ecx, 3
cmp edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
jl 0x431730
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x431b52
mov ecx, dword [ebx + 0x3dc]
push eax
push ecx
call dword [0x49e064]
mov edx, dword [ebx + 0x428]
push edx
call dword [0x49e058]
xor eax, eax
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x540], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ebx + 0x53c], eax
mov eax, dword [esp + 0x68]
mov dword [ebx + 0x554], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x544], edx
mov dword [ebx + 0x550], eax
call fcn.0044a8e0
mov ecx, dword [ebp + 8]
call fcn.0044a8e0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8