Function at 0x4db790
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1587
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x5fa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [ecx], eax
cmp eax, 0x454c4946
je 0x4db822
cmp eax, 5
jbe 0x4dbd55
cmp eax, 0x44414142
je 0x4dbd55
cmp eax, 0x58444e49
je 0x4dbd55
cmp eax, 0x454c4f48
je 0x4dbd55
cmp eax, 0x52545352
je 0x4dbd55
cmp eax, 0x44524352
je 0x4dbd55
cmp eax, 0x444b4843
je 0x4dbd55
cmp eax, 0xffffffff
je 0x4dbd55
jmp 0x4dbd84
movzx eax, word [ebx + 4]
movzx edi, word [ebx + 6]
test al, 1
jne 0x4dbd84
mov ecx, dword [ebp + 0xc]
lea edx, [eax + edi*2]
mov eax, 1
shl eax, cl
sub eax, 2
cmp edx, eax
ja 0x4dbd84
test edi, edi
je 0x4dbd84
lea eax, [edi - 1]
cmp eax, dword [ebp + 0x10]
jne 0x4dbd84
movzx eax, word [ebx + 4]
cmp eax, 0x30
jb 0x4db877
mov edx, dword [ebx + 0x2c]
cmp edx, dword [ebp + 0x14]
je 0x4db877
test edx, edx
jne 0x4dbd84
lea esi, [eax + ebx]
mov edx, 1
movzx eax, word [esi]
mov dword [ebp + 0x14], eax
cmp edi, edx
jbe 0x4db8b6
add esi, 2
nop dword [eax]
mov eax, edx
shl eax, cl
lea ecx, [eax + ebx]
mov eax, dword [ebp + 0x14]
cmp word [ecx - 2], ax
jne 0x4dbd84
mov ax, word [esi]
inc edx
add esi, 2
mov word [ecx - 2], ax
mov ecx, dword [ebp + 0xc]
cmp edx, edi
jb 0x4db890
movzx eax, word [ebx + 0x10]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 4], ax
movzx ecx, word [ebx + 0x14]
movzx eax, word [ebx + 0x16]
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov word [ecx + 6], ax
mov edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0x24]
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
shl edx, cl
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], edi
cmp ecx, edx
jae 0x4dbd84
mov eax, edi
or eax, ecx
test al, 7
jne 0x4dbd84
mov eax, edi
cmp eax, edx
ja 0x4dbd84
cmp esi, edx
jne 0x4dbd84
cmp ecx, eax
jae 0x4dbd84
xor edi, edi
mov dword [ebp - 0x7c], 0
xor edx, edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edx
sub eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], eax
lea esi, [ecx + ebx]
mov dword [ebp + 0xc], esi
cmp eax, 4
jb 0x4dbd6b
mov ebx, dword [esi]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x84], ebx
cmp ebx, 0xffffffff
jne 0x4db968
lea ebx, [edi + 8]
jmp 0x4dbb01
cmp eax, 0x18
jb 0x4dbd6b
mov ebx, dword [esi + 4]
cmp ebx, eax
ja 0x4dbd6b
test bl, 7
jne 0x4dbd6b
movzx edx, byte [esi + 9]
mov cl, byte [esi + 8]
movzx eax, word [esi + 0xa]
mov byte [ebp - 0x80], cl
test edx, edx
je 0x4db9c4
lea eax, [eax + edx*2]
cmp eax, ebx
ja 0x4dbd6b
movzx ecx, word [esi + 0xa]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ecx + esi]
call fcn.004da200
mov eax, dword [ebp - 0x84]
add esp, 4
mov edi, dword [ebp - 0x74]
mov cl, byte [ebp - 0x80]
mov dword [ebp - 0x18], eax
test cl, cl
je 0x4dba6f
cmp ebx, 0x40
jb 0x4dbd6b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x68], ecx
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi + 0x2c]
mov esi, dword [esi + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x54], edx
mov edx, dword [ebp + 8]
mov eax, dword [ecx + eax + 0x38]
mov dword [ebp - 0x44], eax
mov eax, edx
mov dword [ebp - 0x50], esi
mov ecx, dword [ecx + edx + 0x3c]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x48], esi
movzx eax, word [ecx + eax + 0x20]
mov dword [ebp + 0x10], eax
mov eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], edx
mov al, byte [ecx + eax + 0x22]
mov byte [ebp - 0x7f], al
test al, al
je 0x4dba63
cmp ebx, 0x48
jb 0x4dbd6b
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x48], ecx
mov ecx, ebx
mov dword [ebp - 0x4c], eax
sub ecx, edx
jmp 0x4dba82
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov esi, dword [ebp + 0xc]
sub ecx, edx
jmp 0x4dba82
cmp ebx, 0x18
jb 0x4dbd6b
movzx edx, word [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0xc], ecx
cmp edx, ebx
ja 0x4dbd6b
cmp ecx, ebx
ja 0x4dbd6b
mov eax, ebx
sub eax, ecx
cmp eax, edx
jb 0x4dbd6b
mov edx, dword [ebp - 0x70]
cmp ecx, edx
je 0x4dbadc
test edi, edi
je 0x4dbabd
push edi
call fcn.00588148
mov ecx, dword [ebp + 0xc]
add esp, 4
xor edi, edi
mov dword [ebp - 0x74], edi
xor edx, edx
mov dword [ebp - 0x70], edx
test ecx, ecx
je 0x4dbaf3
push ecx
call fcn.0058813f
mov ecx, dword [ebp + 0xc]
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], ecx
jmp 0x4dbae0
test ecx, ecx
je 0x4dbaf3
mov eax, dword [ebp + 0x10]
push ecx
add eax, esi
push eax
push edi
call fcn.0058aed0
mov edx, dword [ebp - 0x70]
add esp, 0xc
test ebx, ebx
je 0x4dbd6b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
cmp eax, ebx
jb 0x4dbd6b
mov eax, dword [ebp - 0x18]
add ecx, ebx
mov dword [ebp + 0x14], ecx
cmp eax, 0xffffffff
je 0x4dbd37
add eax, 0xfffffff0
cmp eax, 0xb0
ja case.0x4dbb2f.17
movzx eax, byte [eax + 0x4dbdb0]
jmp dword [eax*4 + 0x4dbd9c]
xor esi, esi
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 1
cmp edx, 0x42
jb 0x4dbd6b
mov eax, dword [edi]
movzx ebx, byte [edi + 0x40]
mov ecx, dword [edi + 4]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov al, byte [edi + 0x41]
mov byte [ebp + 0xf], al
mov byte [ebp - 0x28], al
lea eax, [ebx*2 + 0x42]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], ecx
cmp eax, edx
ja 0x4dbd6b
test ebx, ebx
je 0x4dbbc0
lea eax, [ebp - 0x34]
mov edx, ebx
push eax
lea ecx, [edi + 0x42]
call fcn.004da200
mov al, byte [ebp - 0x28]
add esp, 4
mov esi, dword [ebp - 0x34]
mov byte [ebp + 0xf], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + 0x24]
call fcn.00439780
push 0x18
call fcn.00587dd8
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
test esi, esi
je 0x4dbc37
mov esi, dword [ebp - 0x30]
mov ecx, 2
inc esi
mov dword [ebx + 8], 0
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0058813f
mov ecx, dword [ebp - 0x30]
mov dword [ebx + 0xc], ecx
lea ecx, [esi + esi]
mov esi, dword [ebp - 0x34]
push ecx
push esi
push eax
mov dword [ebx + 8], eax
call fcn.0058aed0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x10], eax
mov al, byte [ebp + 0xf]
mov byte [ebx + 0x14], al
mov ecx, dword [edx + 0x28]
lea eax, [ecx + 1]
mov dword [edx + 0x28], eax
mov eax, dword [edx + 0x24]
mov dword [eax + ecx*4], ebx
test esi, esi
je 0x4dbd05
push esi
call fcn.00588148
add esp, 4
jmp 0x4dbd05
cmp edx, 0x24
jb 0x4dbd6b
mov ebx, dword [ebp - 0x10]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], 0
cmp edx, 0x38
jb 0x4dbd05
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x64], eax
jmp 0x4dbd05
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
call fcn.00439780
lea ecx, [esi + 0x18]
jmp 0x4dbcf6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x74]
add ecx, 0x68
cmp eax, ecx
je 0x4dbd05
push edx
push edi
call fcn.00439460
jmp 0x4dbd05
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x4dbd05
mov ecx, ebx
call fcn.00439780
mov ecx, ebx
lea eax, [ebp - 0x84]
push eax
call fcn.004e0190
mov edi, dword [ebp - 0x74]
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.00588148
mov eax, dword [ebp - 0x7c]
add esp, 4
test eax, eax
je 0x4dbd25
push eax
call fcn.00588148
add esp, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jae 0x4dbd84
mov ebx, dword [ebp + 8]
jmp 0x4db921
cmp ecx, dword [ebp - 0x14]
jne 0x4dbd6b
push edi
call fcn.00588148
mov eax, dword [ebp - 0x7c]
add esp, 4
test eax, eax
je 0x4dbd55
push eax
call fcn.00588148
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push edi
call fcn.00588148
mov eax, dword [ebp - 0x7c]
add esp, 4
test eax, eax
je 0x4dbd84
push eax
call fcn.00588148
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14