Function at 0x10042de0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
test byte [ebx + 0x3c], 1
mov ecx, dword [eax + 0x1ec]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ebx
jne 0x10042e3d
mov eax, dword [ebp + 0xc]
mov esi, dword [edi + 0x20]
lea ecx, [eax + eax*4]
shl ecx, 4
cmp dword [ebp + 0x10], 0
mov edx, dword [ecx + esi + 0x38]
lea eax, [ecx + esi + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [eax]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
je 0x10042e46
cmp dword [ebp + 0x14], 0
je 0x10042e51
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x10042e51
cmp dword [esi], 1
jg 0x10042e3d
cmp dword [edx + 0x3c], 0
mov eax, dword [edx + 0x20]
je 0x10042e60
cmp dword [edi + 0x3c], 0
jne 0x10042e3d
cmp dword [edx + 0x40], 0
jne 0x10042e3d
movzx edx, word [edi + 6]
test edx, 0x1000
je 0x10042e7c
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x3c], 0
jne 0x10042e3d
cmp dword [eax], 0
je 0x10042e3d
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 6]
test dl, 1
jne 0x10042e3d
cmp dword [eax + 0x3c], 0
je 0x10042e9f
cmp dword [esi], 1
jg 0x10042e3d
cmp dword [ebp + 0x10], 0
jne 0x10042e3d
movzx eax, word [edi + 6]
mov edx, eax
and edx, 1
mov dword [esp + 0x2c], edx
je 0x10042eb4
cmp dword [ebp + 0x14], 0
jne 0x10042e3d
cmp dword [edi + 0x30], 0
je 0x10042ec8
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x10042e3d
cmp dword [ebp + 0x10], 0
je 0x10042edc
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x10042e3d
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 0x3c]
test edx, edx
je 0x10042f01
cmp dword [edi + 0x24], 0
jne 0x10042e3d
test edx, edx
je 0x10042f01
cmp word [esp + 0x2c], 0
jne 0x10042e3d
mov edx, dword [esp + 0x10]
movzx edx, word [edx + 6]
test edx, 0x800
jne 0x10042e3d
test eax, 0x800
mov edx, dword [esp + 0x10]
je 0x10042f2a
cmp dword [edx + 0x34], 0
jne 0x10042e3d
test byte [ecx + esi + 0x2c], 0x20
lea eax, [ecx + esi + 0x2c]
mov dword [esp + 0x38], eax
jne 0x10042e3d
cmp dword [edx + 0x34], 0
je 0x10042fd7
cmp dword [edx + 0x30], 0
jne 0x10042e3d
cmp dword [ebp + 0x10], 0
jne 0x10042e3d
cmp word [esp + 0x2c], 0
jne 0x10042e3d
cmp dword [esi], 1
jne 0x10042e3d
mov eax, edx
test byte [eax + 6], 5
jne 0x10042e3d
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x10042f8d
cmp byte [eax + 4], 0x74
jne 0x10042e3d
mov esi, dword [eax + 0x20]
cmp dword [esi], 1
jl 0x10042e3d
mov esi, dword [edx]
mov eax, dword [eax]
mov esi, dword [esi]
cmp esi, dword [eax]
jne 0x10042e3d
mov eax, ecx
test eax, eax
jne 0x10042f72
mov eax, dword [edi + 0x30]
test eax, eax
je 0x10042fd7
cmp dword [eax], ecx
jle 0x10042fd7
mov eax, dword [eax + 4]
add eax, 0x14
mov edi, edi
cmp word [eax], 0
je 0x10042e3d
mov edx, dword [edi + 0x30]
add ecx, 1
add eax, 0x18
cmp ecx, dword [edx]
jl 0x10042fc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x10]
push 0
lea esi, [eax + ecx + 0x10]
mov eax, dword [ebp + 8]
push 0
push 0
push 0x15
mov dword [esp + 0x44], esi
mov dword [eax + 0x1ec], edx
call fcn.10039af0
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x1ec], eax
mov eax, dword [edx + 0x34]
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], eax
je 0x100430b6
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x34]
mov esi, dword [edi + 0x30]
mov dword [esp + 0x24], eax
xor eax, eax
push eax
push edi
push ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [edi + 0x30], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
call fcn.1002f950
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x30], esi
mov dword [edi + 0x20], ecx
mov byte [edi + 4], 0x74
jne 0x10043081
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x34], edx
jmp 0x10043095
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [eax + 0x34], ecx
je 0x1004308f
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], edi
mov dword [edi + 0x34], eax
cmp byte [ebx + 0x40], 0
jne 0x10043447
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x34]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10043024
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea eax, [edx + eax + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov ecx, ebx
call fcn.10021de0
mov eax, dword [esi]
mov ecx, ebx
call fcn.10021de0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov ecx, ebx
call fcn.10021de0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
lea ecx, [eax + ecx + 0x18]
mov eax, dword [ecx]
test eax, eax
mov dword [esi], 0
mov dword [edx], 0
je 0x10043176
movzx edx, word [eax + 0x28]
cmp dx, 1
jne 0x10043169
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x198]
test edx, edx
jne 0x1004314e
mov edx, esi
mov esi, dword [edx + 0x20c]
mov dword [eax + 0x48], esi
mov dword [edx + 0x20c], eax
mov dword [ecx], 0
mov dword [esp + 0x2c], edi
jmp 0x10043184
add edx, 0xffffffff
mov word [eax + 0x28], dx
mov dword [ecx], 0
mov dword [esp + 0x2c], edi
jmp 0x10043184
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x20]
mov esi, dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x20]
test eax, eax
mov byte [esp + 0xf], 0
mov dword [esp + 0x14], eax
je 0x100431ad
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0xf], dl
jmp 0x100431cc
push 0
xor ecx, ecx
xor eax, eax
mov edx, ebx
call fcn.1002ee90
add esp, 4
test eax, eax
mov dword [edi + 0x20], eax
mov dword [esp + 0x14], eax
je 0x1004343c
cmp esi, 1
jle 0x100431f6
mov ecx, dword [ebp + 0xc]
add ecx, 1
push ecx
lea edx, [esi - 1]
push edx
push ebx
call fcn.1002c0f0
add esp, 0xc
mov dword [edi + 0x20], eax
cmp byte [ebx + 0x40], 0
mov dword [esp + 0x14], eax
jne 0x1004343c
test esi, esi
jle 0x1004326f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add ecx, 8
lea eax, [edx + eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
jmp 0x10043220
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x38]
call fcn.10023de0
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, 0x14
mov edi, ebx
push 0x50
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
push 0
push esi
call fcn.10003bb0
add ebx, 0x50
add esi, 0x50
add esp, 0xc
sub dword [esp + 0x30], 1
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], esi
jne 0x10043220
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0xf]
mov edx, dword [esp + 0x1c]
mov byte [edx + eax + 0x2c], cl
mov eax, dword [edi]
xor ecx, ecx
cmp dword [eax], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
jle 0x100432da
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
add ecx, edx
cmp dword [ecx + 4], 0
jne 0x100432c0
push ebx
mov ebx, dword [ecx + 8]
call fcn.1002b420
add esp, 4
mov esi, eax
call fcn.10016060
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov dword [edx + ecx + 4], esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
add edx, 1
add ecx, 0x18
cmp edx, dword [eax]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
jl 0x1004328f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov esi, dword [edi]
push ecx
push edx
push ebx
call fcn.1003c260
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x1004332b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov esi, dword [edi + 0x28]
push ecx
push edx
push ebx
call fcn.1003c260
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 0x2c]
add esp, 0xc
push ecx
push edx
push eax
push ebx
call fcn.10038890
add esp, 0x10
mov dword [edi + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10043342
mov dword [edi + 0x30], eax
mov dword [ecx + 0x30], 0
jmp 0x10043362
mov esi, dword [edi + 0x30]
test esi, esi
je 0x10043362
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
call fcn.1003c260
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x1004337b
push 0
push 0
push eax
push ebx
call fcn.1002fa90
add esp, 0x10
mov esi, eax
jmp 0x1004337d
xor esi, esi
cmp dword [ebp + 0x14], 0
mov eax, dword [esp + 0x20]
je 0x100433db
mov ecx, dword [edi + 0x24]
mov dword [edi + 0x24], esi
mov esi, dword [esp + 0x10]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi]
push edx
push eax
push ecx
push ebx
call fcn.10038890
push 0
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x2c]
push 0
push eax
push ebx
call fcn.1002fa90
mov ebx, dword [edi + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
call fcn.1002fce0
add esp, 0x24
mov dword [edi + 0x2c], eax
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
call fcn.1002c840
add esp, 0xc
mov dword [edi + 0x28], eax
jmp 0x10043406
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edi + 0x24]
push edx
push eax
push ecx
push ebx
call fcn.10038890
mov dword [edi + 0x24], eax
mov ebx, eax
mov eax, dword [esp + 0x28]
push esi
call fcn.1002fce0
mov esi, dword [esp + 0x24]
add esp, 0x14
mov dword [edi + 0x24], eax
movzx edx, byte [esi + 6]
and edx, 1
or word [edi + 6], dx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10043422
mov dword [edi + 0x3c], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 0x34]
test edi, edi
mov eax, dword [esi + 0x34]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], eax
jne 0x10043180
mov esi, dword [esp + 0x3c]
mov edi, ebx
call fcn.1002bf10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret