Function at 0x41683d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5730f2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5e3c30]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
push 0
call fcn.0043e61e
pop ecx
push eax
call fcn.00545685
pop ecx
call fcn.00545697
mov dword [ebp - 0x38], eax
push 0x5b17a8
lea ecx, [ebp - 0x34]
call fcn.00407628
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
and eax, reloc.LUNAR.dll_Ordinal_1
jns 0x4168b2
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4168d2
push 0x5b17ac
lea ecx, [ebp - 0x34]
call fcn.004076b0
push 0x5b17b0
lea ecx, [ebp - 0x34]
call fcn.004076b0
jmp 0x4168df
push 0x5b17b4
lea ecx, [ebp - 0x34]
call fcn.004076b0
call fcn.00545697
mov esi, eax
call fcn.00545697
cdq
push 0x64
pop ecx
idiv ecx
mov ecx, edx
mov eax, esi
cdq
idiv ecx
mov dword [ebp - 0x3c], edx
and dword [ebp - 0x40], 0
jmp 0x416908
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
jge 0x416941
call fcn.00545697
and eax, reloc.LUNAR.dll_Ordinal_1
jns 0x416921
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x416934
push 0x5b17bc
lea ecx, [ebp - 0x34]
call fcn.004076b0
jmp 0x41693f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call fcn.004076c6
jmp 0x416901
lea ecx, [ebp - 0x34]
call fcn.00405e71
push eax
push 0x5b17c0
call fcn.005455c8
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401d44
and dword [ebp - 0x10], 0
jmp 0x416978
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
jge 0x416a80
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x4169ef
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x416968
mov eax, dword [ebp - 0x4c]
shl eax, 4
mov ecx, dword [ebp - 0x54]
lea eax, [eax + ecx*8 + 0x5e7d78]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x416a20
mov eax, dword [ebp - 0x50]
or eax, 0x200
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x416a5f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x416a47
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x58], eax
jmp 0x416a5f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x416a5f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jbe 0x416a7b
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x416968
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00543a33
leave
ret