Function at 0x4155e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
add eax, 0xc2b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x1464], edx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x16]
mov eax, dword [ebp + 0x18]
mov dword [eax + 0x1468], edx
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x18]
cmp edx, 0x63
je 0x415681
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x18]
cmp ecx, 5
jl 0x415673
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x18]
cmp eax, 0xf
jle 0x415681
mov ecx, dword [ebp + 0x18]
mov word [ecx + 0x147e], 0
jmp 0x4156a3
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x18]
mov word [edx + 0x147e], cx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x1a]
mov word [edx + 0x1480], cx
mov edx, dword [ebp + 8]
mov ax, word [edx + 0x16]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00415aa0
add esp, 8
test eax, eax
jne 0x4156c0
jmp 0x415a71
push 0xd
mov edx, dword [ebp + 8]
add edx, 0xc36
push edx
mov eax, dword [ebp + 0x18]
add eax, 0x1434
push eax
call fcn.00464830
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00459390
add esp, 4
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
jne 0x41580e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x1468]
push edx
push 0x53c2f0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x458]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.0047ebc0
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x415809
mov eax, dword [0x558b28]
mov ecx, dword [eax + 0x1a8]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.004726f0
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x415809
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x1468]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x458]
push edx
mov eax, dword [0x558b28]
push eax
call fcn.0047ecf0
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x415809
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x1468]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x1460]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.00472b70
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x415809
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0x1468], 4
jge 0x4157ed
push 2
push 0x4f
push 0x4f
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.00454f50
add esp, 0x14
jmp 0x415809
push 2
push 0x10e
push 0x2f
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [0x558b28]
push ecx
call fcn.00454f50
add esp, 0x14
jmp 0x415a71
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.0041bd20
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41586c
cmp dword [0x53c2ec], 0xffffffff
jne 0x415863
push str.flexlmd
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0041bd20
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x415859
mov ecx, dword [ebp - 4]
mov dword [0x53c2ec], ecx
jmp 0x415863
mov dword [0x53c2ec], 0
mov edx, dword [0x53c2ec]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x415892
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
cmp ecx, 0x60
jne 0x415889
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x415892
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 4], 0
je 0x415a58
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x415a58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0xffffffff
je 0x415a58
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
jl 0x415a58
mov byte [ebp - 0x870], 0
push 0x401
push 0
lea eax, [ebp - 0x86f]
push eax
call fcn.004057a0
add esp, 0xc
mov dword [ebp - 0x464], 0
mov byte [ebp - 0x871], 0
mov byte [ebp - 0x45d], 0
mov dword [ebp - 0x45c], 0
push 0x94
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004057a0
add esp, 0xc
push 0x400
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x870]
push eax
call fcn.004436c0
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00415a80
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x878], eax
cmp dword [ebp - 0x878], 1
je 0x415962
jmp 0x41596b
mov byte [ebp - 0x871], 0x54
jmp 0x415997
cmp dword [0x558b1c], 0
je 0x415997
push 0xffffffffffffffff
push 1
call fcn.004542f0
add esp, 8
push 0x5a1
push 0x53c300
push str.Internal_error__s__d_n
call fcn.00454520
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 0x24], 1
jne 0x4159b2
mov byte [ebp - 0x45d], 0x55
jmp 0x4159cb
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 2
jne 0x4159c4
mov byte [ebp - 0x45d], 0x44
jmp 0x4159cb
mov byte [ebp - 0x45d], 0x20
mov cl, byte [ebp - 0x45d]
push ecx
mov dl, byte [ebp - 0x871]
push edx
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x870]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x1468]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
mov eax, dword [0x558b28]
push eax
call fcn.00478c80
add esp, 0x1c
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x415a56
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x1468], 4
jge 0x415a3a
push 2
push 0x41
push 0x41
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [0x558b28]
push eax
call fcn.00454f50
add esp, 0x14
jmp 0x415a56
push 2
push 0x113
push 0x2f
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [0x558b28]
push edx
call fcn.00454f50
add esp, 0x14
jmp 0x415a71
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], 0
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x3f
mov edx, dword [ebp + 0x18]
push edx
call fcn.00457b10
add esp, 0xc
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret