Function at 0x1003f9c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10115dac
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x101a8540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [ebp - 4], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
lea esi, [edx + 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
lea edi, [edx + 0x38]
mov dword [edx + 0x30], 0
mov byte [edx + 0x34], 0
mov dword [ebp - 0x2c], edi
mov dword [edi + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1003fa7d
mov eax, dword [ecx]
push edi
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x1c]
mov dword [edi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edx + 0x68]
push 9
mov byte [ebp - 4], 5
mov byte [edx + 0x60], al
call fcn.1003f750
mov ecx, dword [esi + 0xc]
xor edx, edx
mov edi, dword [esi]
mov byte [ebp - 4], 6
mov byte [ebp - 0x1d], 1
test ecx, ecx
jns 0x1003fac2
mov eax, ecx
neg eax
cmp edx, eax
jae 0x1003fac2
add ecx, edx
mov edx, edi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1003facc
add ecx, edx
mov eax, ecx
shr eax, 5
lea edx, [edi + eax*4]
sub edx, edi
and ecx, 0x1f
sar edx, 2
mov eax, 0x7fffffff
shl edx, 5
add edx, ecx
mov ecx, dword [esi + 0xc]
sub eax, ecx
mov dword [ebp - 0x28], edx
cmp eax, 1
jb 0x1003fd15
mov esi, dword [esi + 4]
add ecx, 0x20
sub esi, edi
shr ecx, 5
sar esi, 2
mov dword [ebp - 0x10], 0
cmp ecx, esi
jae 0x1003fb13
lea eax, [edi + ecx*4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], eax
jmp 0x1003fb4e
jbe 0x1003fb4e
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov eax, dword [edx + 8]
sub eax, edi
sar eax, 2
cmp ecx, eax
lea eax, [ebp - 0x10]
jbe 0x1003fb35
push eax
push ecx
mov ecx, edx
call fcn.10038f80
jmp 0x1003fb4b
push edx
push eax
sub ecx, esi
push ecx
push dword [edx + 4]
call fcn.10039350
mov edx, dword [ebp - 0x1c]
add esp, 0x10
mov dword [edx + 0x14], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x1c]
test edi, edi
jne 0x1003fb6a
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + 1]
mov dword [ecx + 0x1c], eax
mov ecx, edx
neg ecx
jmp 0x1003fca1
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov dword [ebp - 0x14], edx
test edi, edi
jns 0x1003fb94
mov eax, edi
neg eax
cmp ecx, eax
jae 0x1003fb94
mov ecx, edi
mov esi, edx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1003fb9e
add ecx, edi
mov eax, ecx
shr eax, 5
lea esi, [edx + eax*4]
mov dword [ebp - 0x18], esi
lea eax, [edi + 1]
mov esi, dword [ebp - 0x1c]
and ecx, 0x1f
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [esi + 0x1c], eax
test eax, eax
jns 0x1003fbd7
neg eax
cmp edx, eax
jae 0x1003fbd4
mov edx, dword [ebp - 0x10]
mov eax, edx
mov edi, dword [ebp - 0x14]
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edi, eax
jmp 0x1003fbe4
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, eax
mov eax, edx
shr eax, 5
lea edi, [edi + eax*4]
mov eax, dword [ebp - 0x28]
and edx, 0x1f
test eax, eax
jns 0x1003fc11
mov dword [ebp - 0x10], eax
xor esi, esi
neg dword [ebp - 0x10]
cmp esi, dword [ebp - 0x10]
jae 0x1003fc11
add eax, esi
mov dword [ebp - 0x24], eax
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub dword [ebp - 0x14], eax
jmp 0x1003fc2c
xor esi, esi
add eax, esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
shr eax, 5
lea esi, [esi + eax*4]
mov eax, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov eax, 0x1f
and eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x14], esi
jne 0x1003fc46
cmp eax, ecx
je 0x1003fc9b
test ecx, ecx
je 0x1003fc4d
dec ecx
jmp 0x1003fc58
sub esi, 4
mov ecx, 0x1f
mov dword [ebp - 0x18], esi
test edx, edx
je 0x1003fc5f
dec edx
jmp 0x1003fc64
mov edx, 0x1f
cmp dword [ebp - 0x24], 0
lea eax, [edi - 4]
cmove edi, eax
mov eax, 1
mov dword [ebp - 0x24], edi
shl eax, cl
mov esi, dword [edi]
mov edi, dword [ebp - 0x18]
test dword [edi], eax
je 0x1003fc8e
mov edi, dword [ebp - 0x24]
bts esi, edx
mov dword [edi], esi
mov eax, dword [ebp - 0x2c]
jmp 0x1003fc37
mov edi, dword [ebp - 0x24]
btr esi, edx
mov dword [edi], esi
mov eax, dword [ebp - 0x2c]
jmp 0x1003fc37
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
xor eax, eax
mov esi, dword [edi + 0x10]
test edx, edx
jns 0x1003fcc6
cmp eax, ecx
jae 0x1003fcc6
lea ecx, [eax + edx]
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1003fcd1
lea ecx, [eax + edx]
mov eax, ecx
shr eax, 5
lea esi, [esi + eax*4]
lea eax, [ebp - 0x1d]
and ecx, 0x1f
push eax
push 1
push ecx
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.1003b2d0
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x1003fd00
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x30
call fcn.100437c0
int3