Function at 0x1003b29e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x280
mov edi, dword [ebp + 0xc]
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0x10]
xor edx, edx
cmp byte [edi + 0x28], 0
mov ecx, 0
je 0x1003b2c6
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 8], ebx
cmp ebx, 0x80000000
cmove ecx, edx
lea ebx, [edi + 0x14]
movzx edx, byte [ebp + 0x14]
lea edi, [esp + 0x58]
mov dword [esp + 0x10], ebx
push ebx
lea ebx, [ebp + 0x10]
push eax
push ecx
push edx
push ebx
push edi
call fcn.1005ada3
add esp, 0x18
mov eax, dword [edi + 8]
cmp eax, 2
jne 0x1003b345
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 8], 2
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0
mov dword [esi], 1
push dword [ebp + 0x18]
call fcn.1002c572
add esp, 4
mov eax, dword [ebp + 0x10]
lock dec dword [eax]
jne 0x1003b5fc
push ebx
call fcn.10019f79
add esp, 4
jmp 0x1003b5fc
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x40], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebx], 0
je 0x1003b394
lea eax, [ebx + 4]
push eax
call fcn.1005aa48
add esp, 4
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + 8]
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x1003b3a0
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x80000000
mov dword [esp + 0x38], esi
jne 0x1003b3b6
mov dword [esp + 0x18], 0x80000000
jmp 0x1003b3e5
mov esi, ebx
mov ebx, dword [ebx + 0xc]
mov edi, dword [esi + 0x10]
push 0
push edi
call fcn.1005a36d
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
lea eax, [edi + edi]
push eax
push ebx
mov ebx, esi
mov dword [esp + 0x28], edx
push edx
call fcn.100e9d70
add esp, 0xc
mov edi, dword [ebp + 0x18]
mov al, byte [ebx + 0x28]
mov cl, byte [ebx + 0x29]
mov edx, dword [ebx + 0x20]
test edx, edx
mov byte [esp + 7], al
mov byte [esp + 6], cl
mov dword [esp + 0x30], edx
je 0x1003b413
lock inc dword [edx]
jle 0x1003b606
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x28], eax
jmp 0x1003b413
lea eax, [esp + 0x1b8]
push 0xc0
push edi
push eax
call fcn.100e9d70
add esp, 0xc
xor ebx, ebx
inc ebx
mov dword [esp + 8], 0
cmp dword [esp + 0xc], 0
lea edi, [esp + 0x58]
je 0x1003b490
mov eax, dword [esp + 0x48]
mov dword [esp + 0x60], eax
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x58], xmm0
push edi
call fcn.1005a93e
add esp, 4
lea esi, [esp + 0x4c]
push edx
push eax
push esi
call fcn.1005a278
add esp, 0xc
push edi
call fcn.1005a930
add esp, 4
mov eax, dword [esi]
mov ecx, 0
cmp eax, 0x80000000
je 0x1003b492
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], eax
jmp 0x1003b492
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x80000000
jne 0x1003b4ab
mov esi, ebx
mov edi, 0x80000000
jmp 0x1003b4cb
mov esi, ebx
push eax
push edi
call fcn.10051d94
add esp, 8
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
lea ebx, [esp + 0x60]
mov eax, dword [esp + 0x14]
mov dword [ebx - 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx - 4], eax
push 0xc0
lea eax, [esp + 0x1bc]
push eax
push ebx
call fcn.100e9d70
add esp, 0xc
movaps xmm0, xmmword [0x10106820]
movups xmmword [ebx + 0xc0], xmm0
xor eax, eax
mov dword [ebx + 0xd0], eax
movups xmmword [ebx + 0xd8], xmm0
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xf4], eax
mov dword [ebx + 0xf0], eax
mov ecx, dword [esp + 8]
mov dword [ebx + 0xf8], ecx
mov dword [ebx + 0xfc], esi
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x100], ecx
mov dword [ebx + 0x108], 0x10000
mov byte [ebx + 0x10c], 0
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x120], ecx
mov ecx, dword [esp + 0x34]
mov dword [ebx + 0x124], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x128], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x12c], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x130], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x138], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 0x134], ecx
mov dword [ebx + 0x13c], edi
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x144], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x140], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x148], ecx
mov dword [ebx + 0x14c], 1
mov dword [ebx + 0x150], eax
mov al, byte [esp + 7]
mov byte [ebx + 0x154], al
mov al, byte [esp + 6]
mov byte [ebx + 0x155], al
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x156], al
mov byte [ebx + 0x157], 1
lea eax, [esp + 0x58]
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.1003b158
add esp, 8
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2