Function at 0x42e880
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ebp
jle 0x42ef22
lea ecx, [ecx]
mov eax, dword [ebp + 0xa8]
test eax, eax
jle 0x42e905
mov eax, dword [ebp + 0xe78]
test eax, eax
jne 0x42e905
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp eax, 0xff
jne 0x42e8b4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp eax, 0xff
je 0x42e8c3
test eax, eax
je 0x42e8b4
mov ecx, dword [ebp + 0xe7c]
cmp eax, ecx
jne 0x42ef32
lea eax, [ecx + 1]
cmp eax, 0xd8
mov dword [ebp + 0xe7c], eax
jne 0x42e8fe
mov dword [ebp + 0xe7c], 0xd0
mov ecx, ebp
call fcn.0042b0a0
mov eax, dword [ebp + 0x9c]
test eax, eax
mov dword [esp + 0x40], 0
jle 0x42ecf1
lea eax, [ebp + 0xc6c]
lea esi, [ebp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], esi
jmp 0x42e932
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0x14]
cdq
idiv dword [esi - 4]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], 0
mov ebx, eax
mov eax, ecx
cdq
idiv dword [esi]
mov dword [esp + 0x48], ebx
mov esi, eax
mov eax, ebx
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, esi
cdq
and edx, 7
add eax, edx
mov dword [esp + 0x4c], esi
mov esi, eax
sar ebx, 3
sar esi, 3
test ecx, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], esi
jle 0x42ecc1
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x14]
xor ebp, ebp
test eax, eax
jle 0x42ec99
jmp 0x42e9a0
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x20]
lea eax, [edx + 0x10]
push eax
mov eax, dword [edx + 4]
shl eax, 6
lea eax, [eax + ecx + 0xac]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 8]
imul eax, eax, 0x156
imul edx, edx, 0x156
lea eax, [eax + ecx + 0x708]
push eax
lea eax, [edx + ecx + 0x1b0]
push eax
call fcn.0042dbf0
test eax, eax
je 0x42ef48
cmp ebx, 1
jne 0x42eb0d
cmp esi, ebx
jne 0x42ebd5
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x51]
mov dword [esp + 0x2c], 2
jmp 0x42ea10
mov ecx, dword [esi - 4]
mov dl, byte [eax - 1]
add ecx, ebp
mov byte [ecx + edi], dl
mov dl, byte [eax]
mov byte [ecx + edi + 1], dl
mov dl, byte [eax + 1]
mov byte [ecx + edi + 2], dl
mov dl, byte [eax + 2]
mov byte [ecx + edi + 3], dl
mov dl, byte [eax + 3]
mov byte [ecx + edi + 4], dl
mov dl, byte [eax + 4]
mov byte [ecx + edi + 5], dl
add ecx, edi
mov dl, byte [eax + 5]
mov byte [ecx + 6], dl
mov dl, byte [eax + 6]
mov byte [ecx + 7], dl
mov edx, dword [esi]
lea ecx, [edi + ebp]
add ecx, edx
mov dl, byte [eax + 7]
mov byte [ecx], dl
mov dl, byte [eax + 8]
mov byte [ecx + 1], dl
mov dl, byte [eax + 9]
mov byte [ecx + 2], dl
mov dl, byte [eax + 0xa]
mov byte [ecx + 3], dl
mov dl, byte [eax + 0xb]
mov byte [ecx + 4], dl
mov dl, byte [eax + 0xc]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0xd]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0xe]
mov byte [ecx + 7], dl
mov ecx, dword [esi + 4]
mov dl, byte [eax + 0xf]
add ecx, ebp
mov byte [ecx + edi], dl
mov dl, byte [eax + 0x10]
mov byte [ecx + edi + 1], dl
mov dl, byte [eax + 0x11]
add ecx, edi
mov byte [ecx + 2], dl
mov dl, byte [eax + 0x12]
mov byte [ecx + 3], dl
mov dl, byte [eax + 0x13]
mov byte [ecx + 4], dl
mov dl, byte [eax + 0x14]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0x15]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0x16]
mov byte [ecx + 7], dl
mov ecx, dword [esi + 8]
mov dl, byte [eax + 0x17]
add ecx, ebp
add ecx, edi
mov byte [ecx], dl
mov dl, byte [eax + 0x18]
mov byte [ecx + 1], dl
mov dl, byte [eax + 0x19]
mov byte [ecx + 2], dl
mov dl, byte [eax + 0x1a]
mov byte [ecx + 3], dl
mov dl, byte [eax + 0x1b]
mov byte [ecx + 4], dl
mov dl, byte [eax + 0x1c]
mov byte [ecx + 5], dl
mov dl, byte [eax + 0x1d]
mov byte [ecx + 6], dl
mov dl, byte [eax + 0x1e]
mov byte [ecx + 7], dl
mov ecx, dword [esp + 0x2c]
add esi, 0x10
add eax, 0x20
dec ecx
mov dword [esp + 0x2c], ecx
jne 0x42ea10
mov esi, dword [esp + 0x20]
jmp 0x42ec82
cmp ebx, 2
jne 0x42ebd5
cmp esi, ebx
jne 0x42ebd5
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x51]
mov dword [esp + 0x2c], 8
mov edi, edi
mov edx, dword [ebx]
mov eax, dword [ebx - 4]
add eax, ebp
add eax, edi
lea ecx, [edi + ebp]
add ecx, edx
mov dl, byte [esi - 1]
mov byte [ecx + 1], dl
mov byte [ecx], dl
mov byte [eax + 1], dl
mov byte [eax], dl
mov dl, byte [esi]
mov byte [ecx + 3], dl
mov byte [ecx + 2], dl
mov byte [eax + 3], dl
mov byte [eax + 2], dl
mov dl, byte [esi + 1]
mov byte [ecx + 5], dl
mov byte [ecx + 4], dl
mov byte [eax + 5], dl
mov byte [eax + 4], dl
mov dl, byte [esi + 2]
mov byte [ecx + 7], dl
mov byte [ecx + 6], dl
mov byte [eax + 7], dl
mov byte [eax + 6], dl
mov dl, byte [esi + 3]
mov byte [ecx + 9], dl
mov byte [ecx + 8], dl
mov byte [eax + 9], dl
mov byte [eax + 8], dl
mov dl, byte [esi + 4]
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xa], dl
mov byte [eax + 0xb], dl
mov byte [eax + 0xa], dl
mov dl, byte [esi + 5]
mov byte [ecx + 0xd], dl
mov byte [ecx + 0xc], dl
mov byte [eax + 0xd], dl
mov byte [eax + 0xc], dl
mov dl, byte [esi + 6]
mov byte [ecx + 0xf], dl
mov byte [ecx + 0xe], dl
mov byte [eax + 0xf], dl
mov byte [eax + 0xe], dl
mov eax, dword [esp + 0x2c]
add ebx, 8
add esi, 8
dec eax
mov dword [esp + 0x2c], eax
jne 0x42eb30
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
jmp 0x42ec82
mov eax, dword [esp + 0x18]
add eax, 0xfffffffc
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 8
test esi, esi
jle 0x42ec44
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
lea esp, [esp]
xor eax, eax
test ebx, ebx
jle 0x42ec36
mov edx, dword [esp + 0x24]
mov dl, byte [esp + edx + 0x50]
mov edi, edi
mov esi, dword [ecx]
add esi, eax
add esi, dword [esp + 0x28]
add esi, ebp
inc eax
cmp eax, ebx
mov byte [esi + edi], dl
jl 0x42ec20
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
add ecx, 4
dec eax
mov dword [esp + 0x34], eax
jne 0x42ec10
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
inc edx
add ecx, ebx
dec eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jne 0x42ec00
mov ecx, dword [esp + 0x2c]
lea eax, [esi*4]
add ecx, eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], eax
jne 0x42ebf0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + 0x14]
add ebp, edx
cmp ebp, ecx
mov ecx, eax
jl 0x42e9a0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
add edx, eax
shl eax, 2
add ebp, eax
cmp edx, dword [ecx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
jl 0x42e987
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x9c]
inc eax
add esi, 0x20
add edx, 0x80
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], edx
jl 0x42e92e
mov ecx, dword [ebp + 0xe78]
mov eax, dword [ebp + 0xa0]
dec ecx
mov dword [ebp + 0xe78], ecx
xor ecx, ecx
cmp eax, ecx
je 0x42ef12
mov eax, dword [ebp + 0x9c]
cmp eax, 3
jne 0x42ee0d
cmp dword [ebp + 0x18], ecx
mov dword [esp + 0x14], ecx
jle 0x42ef12
lea esi, [ebp + 0xce8]
mov eax, dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
jle 0x42edf1
lea ecx, [ecx]
mov edx, dword [esi - 0x80]
add edx, ecx
lea eax, [edx + edi]
movzx edx, byte [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
add eax, ecx
movzx ebp, byte [eax + edi]
mov eax, dword [esi + 0x80]
add eax, ecx
movzx eax, byte [eax + edi]
sub eax, 0x80
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edx, 0x10
mov dword [esp + 0x30], edx
lea edx, [ebx + edx + 0x8000]
mov ebx, dword [esp + 0x4c]
sar edx, 0x10
mov dl, byte [edx + 0x4995f0]
mov byte [ebx], dl
mov ebx, dword [esi]
sub ebp, 0x80
mov edx, ebp
imul ebp, ebp, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
mov edx, dword [esp + 0x30]
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
mov al, byte [eax + 0x4995f0]
add ebx, ecx
mov byte [ebx + edi], al
mov eax, dword [esi + 0x80]
lea edx, [edx + ebp + 0x8000]
sar edx, 0x10
mov dl, byte [edx + 0x4995f0]
add eax, ecx
mov byte [eax + edi], dl
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
inc ecx
cmp ecx, edx
jl 0x42ed40
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42ed30
jmp 0x42ef12
cmp eax, 4
jne 0x42ef12
cmp dword [ebp + 0x18], ecx
mov dword [esp + 0x14], ecx
jle 0x42ef12
lea esi, [ebp + 0xce8]
lea esp, [esp]
mov eax, dword [ebp + 0x14]
xor ecx, ecx
test eax, eax
jle 0x42eefb
lea ecx, [ecx]
mov edx, dword [esi - 0x80]
add edx, ecx
lea eax, [edx + edi]
movzx edx, byte [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
add eax, ecx
movzx ebp, byte [eax + edi]
mov eax, dword [esi + 0x80]
add eax, ecx
movzx eax, byte [eax + edi]
sub eax, 0x80
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edx, 0x10
mov dword [esp + 0x30], edx
lea edx, [ebx + edx + 0x8000]
sar edx, 0x10
or bl, 0xff
sub bl, byte [edx + 0x4995f0]
mov edx, dword [esp + 0x4c]
mov byte [edx], bl
sub ebp, 0x80
mov edx, ebp
imul ebp, ebp, 0x1c5a2
imul edx, edx, 0x5819
sub eax, edx
mov edx, dword [esp + 0x30]
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
or bl, 0xff
sub bl, byte [eax + 0x4995f0]
mov eax, dword [esi]
add eax, ecx
mov byte [eax + edi], bl
lea edx, [edx + ebp + 0x8000]
sar edx, 0x10
mov bl, byte [edx + 0x4995f0]
mov edx, dword [esi + 0x80]
or al, 0xff
sub al, bl
add edx, ecx
mov byte [edx + edi], al
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
inc ecx
cmp ecx, edx
jl 0x42ee40
mov ebp, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x42ee30
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
add edi, ecx
cmp edi, eax
jl 0x42e8a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret
mov edx, dword [ebp]
push 0x476550
mov ecx, ebp
call dword [edx + 0x20]
push eax
call fcn.00401070
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret