Function at 0x1004bf00
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x100af4b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.1005e14e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x1004bf46
push 0x80004005
call fcn.10002b30
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edx, [eax + 0x10]
mov dword [esp + 0x10], edx
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x1004c153
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [esp + 0x18]
call fcn.1004c240
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call fcn.10003c40
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004bfc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.10003c40
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.1004bcb0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.10003c40
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004c013
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.10002b60
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.1004b1d0
cmp eax, ebx
jne 0x1004c059
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1004c169
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx - 0xc]
cmp esi, 0x18
jl 0x1004c03d
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 0xc]
cmp edx, ebx
jge 0x1004c07a
push 0x80070057
call fcn.10002b30
lea eax, [esi - 4]
cmp eax, ebx
jl 0x1004c070
cmp eax, edx
jg 0x1004c070
mov di, word [ecx]
cmp di, word [ecx + eax*2]
jne 0x1004c13f
cmp edx, 1
jge 0x1004c0a1
push 0x80070057
call fcn.10002b30
lea eax, [esi - 3]
cmp eax, ebx
jl 0x1004c070
cmp eax, edx
jg 0x1004c070
mov di, word [ecx + 2]
cmp di, word [ecx + eax*2]
jne 0x1004c13f
cmp edx, 2
jge 0x1004c0c9
push 0x80070057
call fcn.10002b30
movzx edi, word [ecx + 4]
lea ecx, [esi - 2]
cmp ecx, ebx
jl 0x1004c070
lea eax, [esp + 0x10]
call fcn.1004c550
cmp di, ax
jne 0x1004c13f
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 3
jge 0x1004c0f6
push 0x80070057
call fcn.10002b30
movzx edi, word [eax + 6]
lea ecx, [esi - 1]
cmp ecx, ebx
jl 0x1004c070
lea eax, [esp + 0x10]
call fcn.1004c550
cmp di, ax
jne 0x1004c13f
lea ecx, [esp + 0x10]
call fcn.10002bf0
lea ecx, [esp + 0x28]
call fcn.10002bf0
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
lea ecx, [esp + 0x10]
call fcn.10002bf0
lea ecx, [esp + 0x28]
call fcn.10002bf0
jmp 0x1004c196
lea eax, [edx - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004c175
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x1004c196
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8