Function at 0x1652253
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov eax, dword [0x1854370]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
mov ebx, dword [esp + 0x40]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 0x17fef44
mov eax, dword [eax]
push edi
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
push 1
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
call 0x1277030
mov edi, eax
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x165229f
mov edx, dword [esp + 0xc]
push edx
call fcn.01273020
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
push edi
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.01274a90
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x16522da
mov edx, dword [esp + 0xc]
push edx
call fcn.01273020
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, 1
lock xadd dword [eax], ecx
push 0xffffffffffffffff
add edi, 2
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call fcn.01274b10
mov eax, dword [esp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x165231a
mov edx, dword [esp + 0xc]
push edx
call fcn.01273020
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0
call fcn.0169b560
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dx, word [eax + 4]
mov word [esp + 0x24], dx
mov cx, word [eax + 6]
mov word [esp + 0x26], cx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
movzx ecx, byte [eax + 9]
mov byte [esp + 0x29], cl
movzx edx, byte [eax + 0xa]
mov byte [esp + 0x2a], dl
movzx ecx, byte [eax + 0xb]
mov byte [esp + 0x2b], cl
movzx edx, byte [eax + 0xc]
mov byte [esp + 0x2c], dl
movzx ecx, byte [eax + 0xd]
mov byte [esp + 0x2d], cl
movzx edx, byte [eax + 0xe]
lea ecx, [esp + 0x18]
push ecx
push 0x17ffb80
push 0
mov byte [esp + 0x3a], dl
mov al, byte [eax + 0xf]
push 0x15
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x43], al
call dword [0x16d56c4]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x16523f2
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x16523c2
mov edx, dword [esp + 0x14]
push edx
call fcn.01273020
add esp, 4
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x16523dc
mov edx, dword [esp + 0x10]
push edx
call fcn.01273020
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.016664c7
add esp, 0x38
ret 4
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, esi
call fcn.01651c80
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebx], 0
mov ecx, dword [esp + 0x14]
setne bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x165242c
mov eax, dword [esp + 0x14]
push eax
call fcn.01273020
add esp, 4
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1652446
mov eax, dword [esp + 0x10]
push eax
call fcn.01273020
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.016664c7
add esp, 0x38
ret 4