Function at 0x30045549
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x300636e8
push 0x300634ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffd84
mov eax, dword [section..cdata]
xor eax, ebp
mov dword [ebp - 0x44], eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.30045924
push 4
lea ecx, [ebp - 0x40]
call fcn.300459a2
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 0x68
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov eax, dword [edx + 0x40]
call eax
test eax, eax
jne 0x300455d7
xor eax, eax
jmp 0x30045907
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x68
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x300456af
mov dword [ebp - 0x20], 0
push 0x200
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x300456a4
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.30044fd7
mov edx, dword [ebp - 0x250]
push edx
push 0x200
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
push 0x30006f28
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 4]
call edx
add esp, 0x1c
mov eax, dword [ebp - 0x250]
jmp 0x30045907
lea eax, [ebp - 0x248]
mov dword [ebp - 0x28], eax
jmp 0x300456b5
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.3004c0bc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x30045701
mov dword [ebp - 0x250], 0x80070482
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
push 0x30006ef0
push 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 4]
call edx
add esp, 0x14
jmp 0x300458e4
mov dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
je 0x300457c7
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
jmp 0x3004573f
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x24], eax
jae 0x30045787
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
add ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.300454b8
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x30045736
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x250], eax
jmp 0x30045736
mov dword [ebp - 4], 0xffffffff
jmp 0x300458e4
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp + 0x10]
add edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
adc ecx, eax
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x24], 0
jmp 0x300457f8
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x24], ecx
jae 0x300458e4
push 0x28
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x3004588a
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
push 0x28
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
push 0x30006eb0
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 4]
call ecx
add esp, 0x1c
jmp 0x300458c1
lea edx, [ebp - 0x27c]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.300454b8
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
je 0x300458c1
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x288]
add edx, 0x28
mov eax, dword [ebp - 0x284]
adc eax, 0
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], eax
jmp 0x300457ef
cmp dword [ebp - 0x20], 0
je 0x30045901
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
mov eax, dword [edx + 0x30]
call eax
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.30063125
mov esp, ebp
pop ebp
ret 0x10