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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x177c
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 + 0x84], eax
mov eax, dword [esi + 0x228]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
jne 0x42ec94
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x30], ecx
jmp 0x42ec9e
mov edx, dword [esi + 0x1c0]
mov dword [esp + 0x30], edx
test eax, eax
jne 0x42eca7
mov edx, dword [esi + 0x7c]
jmp 0x42ecad
mov edx, dword [esi + 0x1bc]
mov eax, dword [ebp + 0xc]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ecb3
sub eax, edi
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x888]
rep stosd dword es:[edi], eax
mov ecx, 0xc0
lea edi, [esp + 0x1088]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x488]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1388]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xc88]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x54c]
test eax, eax
mov ecx, dword [ebx + 0x554]
mov dword [esp + 0x18], ecx
jge 0x42ed39
lea edi, [eax + ecx]
test edi, edi
jge 0x42ed39
mov dword [esp + 0x18], 0
add ecx, eax
cmp edx, ecx
jae 0x42ed51
sub edx, eax
test ecx, ecx
mov dword [esp + 0x18], edx
jge 0x42ed51
mov dword [esp + 0x18], 0
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00447270
mov eax, dword [ebx + 0x550]
shl eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
xor edi, edi
xor esi, esi
test eax, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], esi
jle 0x42eeca
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x1088]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
movsx ecx, byte [eax]
push ecx
call fcn.00477f02
add esp, 4
test eax, eax
je 0x42ede6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push 2
push edx
push eax
call fcn.00477380
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
add esp, 0xc
lea ecx, [esp + 0x64]
push ecx
push 2
push edx
push eax
call dword [0x49b030]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x42ee11
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 1
push ecx
push edx
call fcn.00477380
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x64]
push eax
push 1
push ecx
push edx
call dword [0x49b030]
mov eax, dword [esp + 0x64]
shl eax, 1
xor ecx, ecx
cmp esi, ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
mov dword [esp + edi*4 + 0x888], eax
mov dword [esp + edi*4 + 0x488], ecx
mov dword [esp + edi*4 + 0x88], eax
jge 0x42ee56
lea edx, [eax + esi]
test edx, edx
mov dword [esp + edi*4 + 0x488], esi
jge 0x42ee56
mov dword [esp + edi*4 + 0x488], ecx
mov dword [esp + edi*4 + 0x88], ecx
mov ecx, dword [esp + 0x30]
lea edx, [eax + esi]
cmp ecx, edx
jae 0x42ee82
sub eax, ecx
add eax, esi
cmp ecx, esi
mov dword [esp + edi*4 + 0x88], eax
jae 0x42ee82
xor eax, eax
mov dword [esp + edi*4 + 0x488], eax
mov dword [esp + edi*4 + 0x88], eax
jmp 0x42ee84
xor eax, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x64]
mov dword [esp + edi*4 + 0x1388], eax
mov eax, dword [esp + 0x18]
add edx, 3
add esi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + edi*4 + 0xc88], eax
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x10]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x42ed93
mov dword [esp + 0x54], 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 + 0x48], eax
mov dword [esp + 0x78], ecx
call fcn.004475d0
mov edx, dword [ebx + 0x53c]
mov ecx, dword [ebx + 0x540]
mov esi, eax
mov eax, 1
mov dword [esp + 0x5c], 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 + 0x58], ecx
lea ecx, [eax + 8]
imul ecx, ecx, 0xf00
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x550]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], eax
lea ecx, [eax + eax]
lea eax, [edx + edx]
test eax, eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x28], 0
jge 0x42ef62
xor eax, eax
test ecx, ecx
jge 0x42ef68
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 + 0x30]
add eax, dword [ebx + 0x548]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebx
jle 0x42f39d
lea ecx, [esp + 0x1088]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x60]
xor edx, edx
test eax, eax
mov dword [esp + 0x24], edx
jle 0x42f00c
mov eax, dword [esp + ebx*4 + 0x888]
add eax, 8
lea ecx, [eax + eax*2]
shl ecx, 1
mov dword [esp + 0x20], ecx
jmp 0x42efe0
mov ecx, dword [esp + 0x20]
lea esp, [esp]
mov edi, dword [esp + 0x1c]
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 + 0x60]
add edx, 0x780
cmp edx, eax
mov dword [esp + 0x24], edx
jl 0x42efd8
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f013
mov edi, dword [esp + 0x50]
sub eax, edx
cmp dword [edi + 0x538], 0xa8c
mov edx, dword [edi + 0x3dc]
mov ecx, 8
jne 0x42f040
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 [0x49b060]
mov edi, dword [esp + ebx*4 + 0x488]
mov edx, dword [esp + ebx*4 + 0x88]
mov eax, edi
sub eax, edx
add eax, 0x140
lea eax, [eax + eax*2]
shl eax, 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + ebx*4 + 0xc88]
sub edx, edi
mov dword [esp + 0x70], edi
mov edi, dword [esp + ebx*4 + 0x1388]
sub eax, edi
shl edx, 1
shl eax, 1
test eax, eax
mov ecx, 0x3c18
mov dword [esp + 0x2c], edx
jle 0x42f1e6
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], eax
jmp 0x42f0b0
test edx, edx
jle 0x42f1c3
mov eax, dword [esp + 0x3c]
lea edx, [esi + 1]
mov ebx, esi
sub ebx, edx
mov dword [esp + 0xc], ebx
mov ebx, esi
sub ebx, edx
add ebx, 2
lea edi, [ecx + eax]
mov eax, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
sub edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x34], ebx
jmp 0x42f0f5
mov edx, dword [esp + 0x4c]
cmp byte [edx + edi], 0
jne 0x42f184
mov edx, dword [esp + 0x1c]
movzx ebx, byte [ecx + edx - 0x780]
movzx edx, byte [ecx + edx - 3]
add ebx, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [ecx + edx + 0x780]
add ebx, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [ecx + edx + 3]
add ebx, edx
mov edx, dword [esp + 0xc]
je 0x42f142
mov byte [edx + eax], 0x80
mov edx, dword [esp + 0x10]
mov byte [eax], 0x80
mov byte [edx + eax], 0x80
jmp 0x42f1a0
mov byte [edx + eax], 0
mov edx, dword [esp + 0x10]
mov byte [edx + eax], 0
mov edx, dword [esp + 0x1c]
mov byte [eax], 0
movzx ebx, byte [ecx + edx - 0xf00]
movzx edx, byte [ecx + edx - 6]
add ebx, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [ecx + edx + 0xf00]
add ebx, edx
mov edx, dword [esp + 0x1c]
movzx edx, byte [ecx + edx + 6]
add ebx, edx
setne dl
mov byte [edi], dl
jmp 0x42f1a3
mov dl, byte [esp + 0x5c]
mov ebx, dword [esp + 0xc]
mov byte [ebx + eax], dl
mov dl, byte [esp + 0x58]
mov bl, byte [esp + 0x38]
mov byte [eax], dl
mov edx, dword [esp + 0x10]
mov byte [edx + eax], bl
mov byte [edi], 1
mov edx, dword [esp + 0x34]
add ecx, 3
add edi, 3
add eax, 3
dec edx
mov dword [esp + 0x34], edx
jne 0x42f0f1
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x20]
add edi, 0x780
dec eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], eax
jne 0x42f0b0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + ebx*4 + 0x888]
neg eax
add edx, eax
lea eax, [eax + eax*2 + 0x780]
shl eax, 1
lea edx, [edx + edx*2]
mov dword [esp + 0x34], edx
mov edx, dword [esp + ebx*4 + 0x1388]
mov dword [esp + 0x24], eax
mov eax, dword [esp + ebx*4 + 0xc88]
cmp edx, eax
mov dword [esp + 0xc], 0x3c18
lea ecx, [ecx + ecx*2]
jge 0x42f370
mov edi, dword [esp + ebx*4 + 0xc88]
lea eax, [edx + edx*4]
shl eax, 7
sub edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edi
jmp 0x42f250
mov edi, dword [esp + 0x70]
cmp edi, dword [esp + 0x74]
jge 0x42f344
mov edx, dword [esp + ebx*4 + 0x88]
mov dword [esp + 0x4c], edx
lea esp, [esp]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
cmp byte [ebx + edx], 0
je 0x42f325
add eax, edi
lea eax, [eax + eax*2]
shl eax, 1
movzx ebx, byte [eax + esi + 0x780]
movzx edx, byte [eax + esi + 0x783]
add edx, ebx
movzx ebx, byte [eax + esi + 3]
add edx, ebx
movzx ebx, byte [eax + esi]
add edx, ebx
mov ebx, dword [esp + 0x48]
sar edx, 2
mov byte [ecx + ebx + 2], dl
movzx ebx, byte [eax + esi + 0x781]
movzx edx, byte [eax + esi + 0x784]
add edx, ebx
movzx ebx, byte [eax + esi + 4]
add edx, ebx
movzx ebx, byte [eax + esi + 1]
add edx, ebx
mov ebx, dword [esp + 0x48]
sar edx, 2
mov byte [ecx + ebx + 1], dl
movzx ebx, byte [eax + esi + 0x782]
movzx edx, byte [eax + esi + 0x785]
add edx, ebx
movzx ebx, byte [eax + esi + 5]
movzx eax, byte [eax + esi + 2]
add edx, ebx
add edx, eax
mov eax, dword [esp + 0x48]
sar edx, 2
mov byte [ecx + eax], dl
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x84]
mov byte [eax + edx], 0xff
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
add edx, 6
add ecx, 3
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x4c]
inc edi
cmp edi, edx
jl 0x42f270
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
add ecx, edx
mov edx, dword [esp + 0x24]
add edi, edx
mov edx, dword [esp + 0x2c]
add eax, 0x280
dec edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
jne 0x42f250
mov eax, dword [esp + ebx*4 + 0x888]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
add edi, eax
mov eax, dword [esp + 0x54]
inc ebx
add ecx, 3
cmp ebx, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
jl 0x42efb5
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x42f3d4
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 + 0x58]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x540], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x53c], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x554], ecx
mov ecx, dword [esp + 0x78]
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