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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x178c
call fcn.004779b0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov ecx, esi
mov dword [esp + 0x50], ebx
call fcn.0045d550
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3e0]
mov edx, dword [ebx + 0x3f0]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0x228]
test eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edx
jne 0x42f484
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x38], ecx
jmp 0x42f48e
mov edx, dword [esi + 0x1c0]
mov dword [esp + 0x38], edx
test eax, eax
jne 0x42f497
mov edx, dword [esi + 0x7c]
jmp 0x42f49d
mov edx, dword [esi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f4a3
sub eax, edi
mov dword [esp + 0x28], 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]
test eax, eax
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x1c], ecx
jge 0x42f529
lea edi, [eax + ecx]
test edi, edi
jge 0x42f529
mov dword [esp + 0x1c], 0
add ecx, eax
cmp edx, ecx
jae 0x42f541
sub edx, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
jge 0x42f541
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00447270
mov eax, dword [ebx + 0x550]
shl eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
xor edi, edi
xor esi, esi
test eax, eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x18], esi
jle 0x42f6ba
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1098]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
movsx ecx, byte [eax]
push ecx
call fcn.00477f02
add esp, 4
test eax, eax
je 0x42f5d6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 2
push edx
push eax
call fcn.00477380
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 [0x49b030]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x42f601
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 1
push ecx
push edx
call fcn.00477380
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 [0x49b030]
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 0x42f646
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x498], esi
jge 0x42f646
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 0x42f672
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0x98], eax
jae 0x42f672
xor eax, eax
mov dword [esp + edi*4 + 0x498], eax
mov dword [esp + edi*4 + 0x98], eax
jmp 0x42f674
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
mov dword [esp + edi*4 + 0x1398], eax
mov eax, dword [esp + 0x1c]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + edi*4 + 0xc98], eax
mov eax, dword [esp + 0x18]
inc edi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x42f583
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x40]
mov esi, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004472b0
mov ecx, esi
call fcn.004475d0
lea ecx, [ebx + 0x194]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
call fcn.004475d0
mov edx, dword [ebx + 0x53c]
mov ecx, dword [ebx + 0x540]
mov esi, eax
mov eax, 1
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x544]
mov dword [ebx + 0x53c], eax
mov dword [ebx + 0x540], eax
mov dword [ebx + 0x544], eax
mov eax, dword [ebx + 0x554]
mov dword [esp + 0x4c], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x6c], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x28], 0
jge 0x42f756
xor eax, eax
test ecx, ecx
jge 0x42f75c
xor ecx, ecx
mov dword [ebx + 0x550], eax
mov eax, dword [ebx + 0x3dc]
push 0x49c291
mov dword [ebx + 0x554], ecx
push eax
mov ecx, ebx
call fcn.0042d5c0
mov eax, dword [ebx + 0x54c]
imul eax, dword [esp + 0x38]
add eax, dword [ebx + 0x548]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x18], ebx
jle 0x42fb98
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
shl eax, 8
or eax, edi
shl eax, 8
or eax, ecx
lea ecx, [esp + 0x1098]
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x44]
xor edx, edx
test eax, eax
mov dword [esp + 0x24], edx
jle 0x42f81c
mov eax, dword [esp + ebx*4 + 0x898]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x2c], ecx
jmp 0x42f7f0
mov ecx, dword [esp + 0x2c]
lea ebx, [ebx]
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 + 0x24]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x24], edx
jl 0x42f7e6
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f823
mov edi, dword [esp + 0x50]
sub eax, edx
cmp dword [edi + 0x538], 0xa8c
mov edx, dword [edi + 0x3dc]
mov ecx, 8
jne 0x42f850
mov ecx, dword [edi + 0x554]
add ecx, 8
push eax
mov eax, dword [esp + 0x20]
push eax
push 8
push ecx
push edx
call dword [0x49b060]
mov edi, dword [esp + ebx*4 + 0x498]
mov edx, dword [esp + ebx*4 + 0x98]
mov ecx, edi
sub ecx, edx
add ecx, 0x140
lea ecx, [ecx + ecx*2]
shl ecx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + ebx*4 + 0xc98]
sub edx, edi
mov dword [esp + 0x8c], edi
mov edi, dword [esp + ebx*4 + 0x1398]
sub ecx, edi
shl edx, 1
shl ecx, 1
test ecx, ecx
mov eax, 0x3c18
mov dword [esp + 0x14], edx
jle 0x42f9a8
mov edi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
lea ecx, [ecx]
test edx, edx
jle 0x42f985
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
sub ebx, ecx
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ecx
jmp 0x42f8e7
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + edx], 0
jne 0x42f95c
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 0x42f923
mov dword [edi], 0xaaaaaa
jmp 0x42f962
mov ecx, dword [esp + 0x20]
mov dword [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 0x42f965
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov byte [edx], 1
mov ecx, dword [esp + 0x10]
add eax, 3
add edx, 3
add edi, 4
dec ecx
mov dword [esp + 0x10], ecx
jne 0x42f8e3
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
add eax, edi
mov edi, dword [esp + 0x30]
add edi, 0xa00
dec ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ecx
jne 0x42f8c0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x28]
lea ecx, [edx + eax]
mov eax, dword [esp + ebx*4 + 0x898]
mov edx, dword [esp + 0x38]
neg eax
add edx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
mov dword [esp + 0x94], edx
mov edx, dword [esp + ebx*4 + 0x1398]
mov dword [esp + 0x24], eax
mov eax, dword [esp + ebx*4 + 0xc98]
cmp edx, eax
mov dword [esp + 0x10], 0x3c18
mov dword [esp + 0x14], ecx
jge 0x42fb6b
mov edi, dword [esp + ebx*4 + 0xc98]
lea eax, [edx + edx*4]
shl eax, 7
sub edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
nop
mov edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x70]
mov dword [esp + 0x34], edx
jge 0x42fb38
mov edi, dword [esp + ebx*4 + 0x98]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
cmp byte [ebx + edi], 0
je 0x42fb10
add eax, edx
shl eax, 1
mov ecx, dword [esi + eax*4 + 0xa04]
mov edx, dword [esi + eax*4 + 0xa00]
mov edi, dword [esi + eax*4 + 4]
mov eax, dword [esi + eax*4]
mov ebx, eax
mov esi, edi
and esi, 0xff00
and ebx, 0xff00
add ebx, esi
mov esi, edx
and esi, 0xff00
add ebx, esi
mov esi, ecx
and esi, 0xff00
add ebx, esi
mov esi, eax
and esi, 0xff0000
mov dword [esp + 0x90], edi
and edi, 0xff0000
add esi, edi
mov edi, edx
and edi, 0xff0000
add esi, edi
mov edi, ecx
and edi, 0xff0000
add esi, edi
and esi, 0x3fc0000
and ebx, 0x3fc00
or ebx, esi
mov esi, dword [esp + 0x90]
and eax, 0xff
and esi, 0xff
add eax, esi
mov esi, dword [esp + 0x80]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x88]
and ecx, 0xff
add eax, ecx
mov ecx, dword [esp + 0x14]
and eax, 0x3fc
or ebx, eax
mov eax, dword [esp + 0x78]
shr ebx, 2
mov dword [eax + ecx*4], ebx
mov eax, dword [esp + 0x30]
mov byte [ecx + edx], 0xff
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add edi, 6
inc ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x84]
inc edx
cmp edx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], edx
jl 0x42fa33
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esp + 0x24]
add edi, edx
mov edx, dword [esp + 0x2c]
add eax, 0x280
dec edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
jne 0x42fa10
mov eax, dword [esp + ebx*4 + 0x898]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add edi, eax
mov eax, dword [esp + 0x58]
inc ebx
add ecx, 3
cmp ebx, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
jl 0x42f7c3
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x42fbcf
mov ecx, dword [esi + 0x3dc]
push eax
push ecx
call dword [0x49b04c]
mov edx, dword [esi + 0x428]
push edx
call dword [0x49b054]
xor eax, eax
mov dword [esi + 0x428], eax
mov dword [esi + 0x42c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x554], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x544], edx
mov dword [esi + 0x550], eax
call fcn.00447640
mov ecx, dword [ebp + 8]
call fcn.00447640
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8