Function at 0x4181a0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x45b0a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
cmp eax, 0x20
push edi
mov dword [esp + 0x10], ecx
jl 0x41853d
mov esi, dword [esp + 0x64]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov al, byte [esi + 3]
mov cl, byte [esi + 2]
mov dl, byte [esi + 1]
xor ebx, ebx
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
mov bl, byte [esi + 0x17]
shl eax, 8
add eax, edx
xor edx, edx
mov dl, byte [esi + 6]
shl eax, 8
add eax, ecx
xor ecx, ecx
mov cl, byte [esi + 7]
mov dword [esp + 0x14], eax
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 5]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 4]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0xa]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov cl, byte [esi + 0xb]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 9]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 8]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0xe]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov cl, byte [esi + 0xf]
mov edi, ecx
xor ecx, ecx
mov cl, byte [esi + 0xd]
shl edi, 8
add edi, edx
xor edx, edx
mov dl, byte [esi + 0xc]
shl edi, 8
add edi, ecx
xor ecx, ecx
mov cl, byte [esi + 0x13]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [esi + 0x12]
mov cl, byte [esi + 0x11]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [esi + 0x10]
shl ebp, 8
add ebp, ecx
shl ebp, 8
add ebp, edx
shl ebx, 8
xor ecx, ecx
mov cl, byte [esi + 0x16]
add ebx, ecx
xor edx, edx
mov dl, byte [esi + 0x15]
xor ecx, ecx
mov cl, byte [esi + 0x14]
shl ebx, 8
add ebx, edx
xor edx, edx
mov dl, byte [esi + 0x1a]
shl ebx, 8
add ebx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x1b]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0x19]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0x18]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0x1e]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov cl, byte [esi + 0x1f]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0x1d]
shl ecx, 8
add ecx, edx
xor edx, edx
mov dl, byte [esi + 0x1c]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
push ecx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push edi
push edx
push ecx
push eax
call fcn.0040f670
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
call fcn.0041b710
test edi, edi
je 0x41845a
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xd0]
test eax, eax
jne 0x41836f
push 0x1c
call fcn.0045347a
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov dword [esp + 0x5c], 0
je 0x41835f
mov ecx, eax
call fcn.0041bd80
jmp 0x418361
xor eax, eax
mov dword [esp + 0x5c], 0xffffffff
mov dword [esi + 0xd0], eax
push 0x2c
call fcn.0045347a
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
mov dword [esp + 0x5c], 1
je 0x418394
mov ecx, eax
call fcn.0040a6b0
mov esi, eax
jmp 0x418396
xor esi, esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], 3
mov dword [esi + 8], 0
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov edi, dword [ecx + 0xd0]
mov dword [esp + 0x5c], 0xffffffff
mov eax, dword [edi + 0x10]
mov ebx, dword [edi + 8]
test eax, eax
jne 0x41841c
mov edx, dword [edi + 0x18]
push 0xc
lea eax, [edi + 0x14]
push edx
push eax
call fcn.0044ec81
mov ecx, dword [edi + 0x18]
add eax, 4
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0xc]
jl 0x41841c
inc ecx
mov edx, dword [edi + 0x10]
mov dword [eax], edx
mov dword [edi + 0x10], eax
sub eax, 0xc
dec ecx
jne 0x41840e
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov dword [eax + 4], ebx
mov dword [eax], 0
mov ebx, dword [edi + 0xc]
inc ebx
mov dword [edi + 0xc], ebx
mov dword [eax + 8], 0
mov dword [eax + 8], esi
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x41844f
mov dword [ecx], eax
mov dword [edi + 8], eax
jmp 0x41853d
mov dword [edi + 4], eax
mov dword [edi + 8], eax
jmp 0x41853d
mov eax, dword [esp + 0x14]
cmp eax, 0x11
je 0x4184d2
cmp eax, 0x14
jne 0x41853d
cmp dword [esp + 0x18], 0x1000b
jne 0x41853d
test ebx, ebx
jne 0x41848f
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
call fcn.0040ca80
jmp 0x41853d
cmp ebp, ebx
ja 0x41853d
add esi, 0x20
push ebp
push esi
lea ecx, [esp + 0x70]
call fcn.0044e217
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], 3
call fcn.0040c9c0
lea ecx, [esp + 0x68]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00453112
jmp 0x41853d
cmp dword [esp + 0x18], 0x1000a
jne 0x41853d
test ebx, ebx
jne 0x4184f3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [ecx + 4]
call fcn.0040ca40
jmp 0x41853d
cmp dword [esp + 0x68], ebp
jne 0x41853d
lea edx, [ebx + 0x20]
cmp edx, ebp
jne 0x41853d
add esi, 0x20
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.0041edd0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x34]
mov dword [esp + 0x5c], 2
push eax
push ecx
mov ecx, dword [edx + 4]
call fcn.0040c970
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0041f010
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8