Function at 0x42d320
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1ec]
mov eax, dword [eax]
test byte [eax + 0x3c], 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], eax
je 0x42d347
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
lea ebx, [ebx + ebx*4]
shl ebx, 4
cmp dword [ebp + 0x14], 0
mov edx, dword [ebx + ecx + 0x38]
lea eax, [ebx + ecx + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
je 0x42d3b3
cmp dword [ebp + 0x10], 0
jne 0x42d3ab
cmp dword [ecx], 1
jg 0x42d3ab
mov eax, dword [esi + 0x24]
test eax, eax
je 0x42d38e
test dword [eax + 4], 0x200000
jne 0x42d3ab
mov edx, dword [esi]
call fcn.00409650
test eax, 0x200000
jne 0x42d3ab
mov edx, dword [esi + 0x30]
call fcn.00409650
test eax, 0x200000
je 0x42d3b3
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x20]
push edi
mov edi, dword [edx + 0x3c]
test edi, edi
je 0x42d3cb
cmp dword [esi + 0x3c], 0
jne 0x42d5d3
cmp dword [edx + 0x40], 0
jne 0x42d5d3
movzx ecx, word [esi + 6]
mov dword [ebp - 0x24], ecx
test cl, 0x40
je 0x42d3e9
test edi, edi
jne 0x42d5d3
cmp dword [eax], 0
je 0x42d5d3
movzx eax, word [edx + 6]
test al, 1
jne 0x42d5d3
test edi, edi
je 0x42d418
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x42d5d3
cmp dword [ebp + 0x10], 0
jne 0x42d5d3
and ecx, 1
je 0x42d427
cmp dword [ebp + 0x14], 0
jne 0x42d5d3
cmp dword [esi + 0x30], 0
je 0x42d437
cmp dword [edx + 0x30], 0
jne 0x42d5d3
cmp dword [ebp + 0x10], 0
je 0x42d447
cmp dword [edx + 0x30], 0
jne 0x42d5d3
test edi, edi
je 0x42d462
cmp dword [esi + 0x24], 0
jne 0x42d5d3
test edi, edi
je 0x42d462
test cx, cx
jne 0x42d5d3
movzx eax, word [edx + 6]
test eax, 0x1800
jne 0x42d5d3
test dword [ebp - 0x24], 0x800
je 0x42d484
cmp dword [edx + 0x34], 0
jne 0x42d5d3
mov edi, dword [ebp - 4]
test byte [ebx + edi + 0x2c], 0x20
lea eax, [ebx + edi + 0x2c]
mov dword [ebp - 0x28], eax
jne 0x42d5d3
cmp dword [edx + 0x34], 0
je 0x42d535
cmp dword [edx + 0x30], 0
jne 0x42d5d3
cmp dword [ebp + 0x10], 0
jne 0x42d5d3
test cx, cx
jne 0x42d5d3
cmp dword [edi], 1
jne 0x42d5d3
mov eax, edx
jmp 0x42d4d0
test byte [eax + 6], 5
jne 0x42d5d3
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x42d4eb
cmp byte [eax + 4], 0x74
jne 0x42d5d3
mov edi, dword [eax + 0x20]
cmp dword [edi], 1
jl 0x42d5d3
mov edi, dword [edx]
mov eax, dword [eax]
mov edi, dword [edi]
cmp edi, dword [eax]
jne 0x42d5d3
mov eax, ecx
test eax, eax
jne 0x42d4d0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42d535
cmp dword [eax], ecx
jle 0x42d535
mov eax, dword [eax + 4]
add eax, 0x14
lea esp, [esp]
cmp word [eax], 0
je 0x42d5d3
mov edx, dword [esi + 0x30]
inc ecx
add eax, 0x18
cmp ecx, dword [edx]
jl 0x42d520
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + eax + 0x10]
push 0
lea edi, [ebx + eax + 0x10]
mov eax, dword [ebp + 8]
push 0
push 0
push 0x15
mov dword [ebp - 0x14], edi
mov dword [eax + 0x1ec], ecx
call fcn.00428520
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x1ec], edx
mov eax, dword [ecx + 0x34]
add esp, 0x10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42d613
lea esp, [esp]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x40]
mov ecx, dword [ebp - 8]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x3c]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [ebp - 0x24], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.0041b9c0
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x40], edx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x30], edi
mov dword [esi + 0x20], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x42d5dc
mov edx, dword [ebp - 0x20]
mov dword [esi + 0x34], edx
jmp 0x42d5ef
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x42d5e9
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], esi
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x41], 0
jne 0x42d95b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42d580
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebx + eax + 0xc]
call fcn.00401b30
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
call fcn.00401b30
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + ecx + 0x14]
mov ecx, dword [ebp - 8]
call fcn.00401b30
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebx + eax + 0xc], ecx
mov dword [ebx + eax + 0x14], ecx
lea ebx, [ebx + eax + 0x18]
mov eax, dword [ebx]
mov dword [edi], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x42d6a3
movzx ecx, word [eax + 0x24]
cmp ecx, 1
jne 0x42d698
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x198]
test ecx, ecx
jne 0x42d67c
mov ecx, edx
mov edx, dword [ecx + 0x20c]
mov dword [eax + 0x44], edx
mov dword [ecx + 0x20c], eax
mov dword [ebx], 0
mov ebx, esi
mov dword [ebp - 0x20], ebx
jmp 0x42d6b3
dec ecx
mov word [eax + 0x24], cx
mov dword [ebx], 0
mov ebx, esi
mov dword [ebp - 0x20], ebx
jmp 0x42d6b3
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov esi, dword [eax]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x20]
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], eax
test eax, eax
je 0x42d6d9
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx]
mov byte [ebp + 0xb], dl
jmp 0x42d6f7
push 0
xor ecx, ecx
xor eax, eax
mov edx, edi
call fcn.0041c0c0
add esp, 4
mov dword [ebx + 0x20], eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42d94c
cmp esi, 1
jle 0x42d71e
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push edi
call fcn.00416990
add esp, 0xc
mov dword [ebx + 0x20], eax
cmp byte [edi + 0x41], 0
mov dword [ebp - 4], eax
jne 0x42d94c
test esi, esi
jle 0x42d779
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
add eax, 8
mov dword [ebp - 0x18], eax
lea eax, [ecx + edx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esi
jmp 0x42d740
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 0x38]
mov esi, dword [ebp - 8]
call fcn.0040a8c0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov esi, eax
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov esi, 0x50
push esi
push 0
push eax
call fcn.004b4310
add dword [ebp - 0x14], esi
add dword [ebp - 0x18], esi
add esp, 0xc
dec dword [ebp - 0x24]
jne 0x42d740
mov cl, byte [ebp + 0xb]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov byte [edx + eax + 0x2c], cl
mov ecx, dword [ebx]
xor eax, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp + 8], eax
cmp dword [ecx], eax
jle 0x42d7e6
mov dword [ebp - 0x14], eax
lea ecx, [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 4], 0
jne 0x42d7d7
mov ebx, dword [eax + edx + 8]
push esi
call fcn.0040f170
add esp, 4
mov esi, eax
call fcn.00401d70
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0xc]
mov dword [edx + eax + 4], esi
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
add dword [ebp - 0x14], 0x18
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ecx]
jl 0x42d7a0
mov ecx, dword [edi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
push ecx
push edx
push eax
push esi
call fcn.00422410
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x42d827
mov ecx, dword [edi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x28]
push ecx
push edx
push eax
push esi
call fcn.00422410
mov ecx, dword [edi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
push ecx
push edx
push eax
push esi
call fcn.00422310
add esp, 0x20
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov dword [ebp - 0x24], eax
cmp eax, ecx
je 0x42d867
mov dword [ebp + 8], ecx
cmp dword [eax], ecx
jle 0x42d85b
lea ebx, [ebx]
mov edx, dword [eax + 4]
xor eax, eax
mov word [edx + ecx + 0x14], ax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
inc edx
add ecx, 0x18
mov dword [ebp + 8], edx
cmp edx, dword [eax]
jl 0x42d840
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], 0
jmp 0x42d87f
mov eax, dword [ebx + 0x30]
cmp eax, ecx
je 0x42d87f
mov ecx, dword [edi]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push eax
push esi
call fcn.00422410
add esp, 0x10
mov eax, dword [edi + 0x24]
test eax, eax
je 0x42d899
push 0
push 0
push eax
push esi
call fcn.0041f5f0
add esp, 0x10
mov dword [ebp + 8], eax
jmp 0x42d8a0
mov dword [ebp + 8], 0
cmp dword [ebp + 0x14], 0
mov eax, dword [ebx + 0x24]
je 0x42d8f6
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x24], ecx
mov edx, dword [edi]
mov ecx, dword [ebx + 0x2c]
push edx
push eax
push ecx
push esi
call fcn.00422310
push 0
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x2c]
push 0
push eax
push esi
call fcn.0041f5f0
mov edx, dword [ebx + 0x2c]
push edx
mov ecx, esi
call fcn.0041b560
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x28]
push 0
push eax
push esi
call fcn.00414e90
add esp, 0x30
mov dword [ebx + 0x28], eax
jmp 0x42d918
mov ecx, dword [edi]
mov edx, dword [ebp - 0x10]
push ecx
push edx
push eax
push esi
call fcn.00422310
mov dword [ebx + 0x24], eax
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.0041b560
add esp, 0x14
mov dword [ebx + 0x24], eax
mov cx, word [edi + 6]
and cx, 1
or word [ebx + 6], cx
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x42d935
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
mov ebx, dword [ebx + 0x34]
mov edx, dword [edi + 0x34]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], edx
test ebx, ebx
jne 0x42d6b0
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
push 1
push eax
push edi
call fcn.0040b820
add esp, 0xc
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret