Function at 0x471d00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1e8]
mov eax, dword [eax]
test byte [eax + 0x3c], 1
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
je 0x471d30
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x20]
lea ebx, [ebx + ebx*4]
shl ebx, 4
cmp dword [ebp + 0x14], 0
mov edx, dword [ebx + ecx + 0x38]
mov edi, dword [ebx + ecx + 0x1c]
lea eax, [ebx + ecx + 0x1c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
je 0x471d9e
cmp dword [ebp + 0x10], 0
jne 0x471d27
cmp dword [ecx], 1
jg 0x471d27
mov eax, dword [esi + 0x24]
test eax, eax
je 0x471d7d
test dword [eax + 4], 0x200000
jne 0x471d27
mov edx, dword [esi]
call fcn.0044b460
test eax, 0x200000
jne 0x471d27
mov edx, dword [esi + 0x30]
call fcn.0044b460
test eax, 0x200000
jne 0x471d27
mov ecx, dword [esp + 0x18]
cmp dword [edi + 0x3c], 0
mov eax, dword [edi + 0x20]
je 0x471db1
cmp dword [esi + 0x3c], 0
jne 0x471d27
cmp dword [edi + 0x40], 0
jne 0x471d27
movzx edx, word [esi + 6]
mov dword [esp + 0x30], edx
test dl, dl
jns 0x471dd1
cmp dword [edi + 0x3c], 0
jne 0x471d27
cmp dword [eax], 0
je 0x471d27
movzx eax, word [edi + 6]
test al, 1
jne 0x471d27
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x471e00
cmp dword [ecx], 1
jg 0x471d27
cmp dword [ebp + 0x10], 0
jne 0x471d27
mov edx, dword [esp + 0x30]
and edx, 1
mov dword [esp + 0x28], edx
je 0x471e17
cmp dword [ebp + 0x14], 0
jne 0x471d27
cmp dword [esi + 0x30], 0
je 0x471e27
cmp dword [edi + 0x30], 0
jne 0x471d27
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x471e38
cmp dword [edi + 0x30], 0
jne 0x471d27
test eax, eax
je 0x471e56
cmp dword [esi + 0x24], 0
jne 0x471d27
test eax, eax
je 0x471e56
cmp word [esp + 0x28], 0
jne 0x471d27
movzx eax, word [edi + 6]
test eax, 0x3000
jne 0x471d27
test dword [esp + 0x30], 0x2000
je 0x471e79
cmp dword [edi + 0x34], 0
jne 0x471d27
test byte [ebx + ecx + 0x2c], 0x20
lea eax, [ebx + ecx + 0x2c]
mov dword [esp + 0x38], eax
jne 0x471d27
cmp dword [edi + 0x34], 0
je 0x471f15
cmp dword [edi + 0x30], 0
jne 0x471d27
test edx, edx
jne 0x471d27
cmp word [esp + 0x28], dx
jne 0x471d27
cmp dword [ecx], 1
jne 0x471d27
mov eax, edi
mov dl, 9
test byte [eax + 6], dl
jne 0x471d27
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x471eda
cmp byte [eax + 4], 0x74
jne 0x471d27
mov eax, dword [eax + 0x20]
cmp dword [eax], 1
jl 0x471d27
mov eax, ecx
test eax, eax
jne 0x471ec0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x471f15
cmp dword [eax], ecx
jle 0x471f15
mov eax, dword [eax + 4]
add eax, 0x14
lea ecx, [ecx]
cmp word [eax], 0
je 0x471d27
mov edx, dword [esi + 0x30]
inc ecx
add eax, 0x18
cmp ecx, dword [edx]
jl 0x471f00
mov eax, dword [esp + 0x18]
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 [esp + 0x38], edi
mov dword [eax + 0x1e8], ecx
call fcn.00453380
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1e8], edx
mov eax, dword [ecx + 0x34]
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x471ff6
mov edi, edi
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x40]
mov ecx, dword [esp + 0x14]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
xor eax, eax
push eax
push esi
push ecx
mov dword [esp + 0x40], 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.0044af80
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
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 0x471fb9
mov edx, dword [esp + 0x30]
mov dword [esi + 0x34], edx
jmp 0x471fcd
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x34], ecx
test ecx, ecx
je 0x471fc7
mov dword [ecx + 0x38], eax
mov dword [eax + 0x38], esi
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x41], 0
jne 0x47238c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x471f60
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [ebx + eax + 0xc]
call fcn.00418230
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
call fcn.00418230
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + ecx + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.00418230
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
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 0x472091
movzx ecx, word [eax + 0x24]
cmp ecx, 1
jne 0x472086
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x198]
test ecx, ecx
jne 0x472069
mov ecx, edx
mov edx, dword [ecx + 0x208]
mov dword [eax + 0x44], edx
mov dword [ecx + 0x208], eax
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x4720a4
dec ecx
mov word [eax + 0x24], cx
mov dword [ebx], 0
mov ebx, esi
mov dword [esp + 0x30], ebx
jmp 0x4720a4
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
mov esi, dword [eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x20]
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4720d1
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x13], dl
jmp 0x4720f0
push 0
xor ecx, ecx
xor eax, eax
mov edx, edi
call fcn.00458bb0
add esp, 4
mov dword [ebx + 0x20], eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x47237c
cmp esi, 1
jle 0x472118
mov ecx, dword [ebp + 0xc]
inc ecx
push ecx
lea edx, [esi - 1]
push edx
push edi
call fcn.00458aa0
add esp, 0xc
mov dword [ebx + 0x20], eax
cmp byte [edi + 0x41], 0
mov dword [esp + 0x18], eax
jne 0x47237c
test esi, esi
jle 0x472180
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x28], eax
lea eax, [ecx + edx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], esi
jmp 0x472140
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x38]
mov esi, dword [esp + 0x14]
call fcn.00458900
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov esi, eax
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov esi, 0x50
push esi
push 0
push eax
call fcn.004f8f00
add dword [esp + 0x30], esi
add dword [esp + 0x34], esi
add esp, 0xc
dec dword [esp + 0x34]
jne 0x472140
mov eax, dword [esp + 0x18]
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov byte [edx + eax + 0x2c], cl
mov ecx, dword [ebx]
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
cmp dword [ecx], eax
jle 0x4721ff
mov dword [esp + 0x24], eax
lea esp, [esp]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x24]
cmp dword [eax + edx + 4], 0
jne 0x4721ed
mov ebx, dword [eax + edx + 8]
push esi
call fcn.004186a0
add esp, 4
mov esi, eax
call fcn.0041aee0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov dword [edx + eax + 4], esi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 0x18
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx]
jl 0x4721b0
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx]
push ecx
push edx
push eax
push esi
call fcn.00471a40
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x472243
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x28]
push ecx
push edx
push eax
push esi
call fcn.00471a40
mov ecx, dword [edi]
mov edx, dword [esp + 0x30]
mov eax, dword [ebx + 0x2c]
push ecx
push edx
push eax
push esi
call fcn.00471930
add esp, 0x20
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp eax, ecx
je 0x47228a
mov dword [esp + 0x18], ecx
cmp dword [eax], ecx
jle 0x47227e
jmp 0x472260
mov edx, dword [eax + 4]
xor eax, eax
mov word [ecx + edx + 0x14], ax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
inc edx
add ecx, 0x18
mov dword [esp + 0x18], edx
cmp edx, dword [eax]
jl 0x472260
mov dword [ebx + 0x30], eax
mov dword [edi + 0x30], 0
jmp 0x4722a3
mov eax, dword [ebx + 0x30]
cmp eax, ecx
je 0x4722a3
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.00471a40
add esp, 0x10
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4722be
push 0
push 0
push eax
push esi
call fcn.0044a690
add esp, 0x10
mov dword [esp + 0x28], eax
jmp 0x4722c6
mov dword [esp + 0x28], 0
cmp dword [ebp + 0x14], 0
mov eax, dword [ebx + 0x24]
je 0x472321
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x24], ecx
mov edx, dword [edi]
mov ecx, dword [ebx + 0x2c]
push edx
push eax
push ecx
push esi
call fcn.00471930
push 0
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x2c]
push 0
push eax
push esi
call fcn.0044a690
mov edx, dword [ebx + 0x2c]
push edx
mov ecx, esi
call fcn.0044a1a0
add esp, 0x24
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x28]
push 0
push eax
push esi
call fcn.0044aa10
add esp, 0xc
mov dword [ebx + 0x28], eax
jmp 0x472345
mov ecx, dword [edi]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.00471930
mov dword [ebx + 0x24], eax
push eax
mov eax, dword [esp + 0x3c]
mov ecx, esi
call fcn.0044a1a0
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 0x472362
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x3c], 0
mov ebx, dword [ebx + 0x34]
mov edx, dword [edi + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], edx
test ebx, ebx
jne 0x4720a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
push 1
push eax
push edi
call fcn.0046b6a0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret