Function at 0x10024240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004852c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x10080180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 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 edi, [edx + 0x10]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
lea esi, [edx + 0x38]
mov dword [edx + 0x30], 0
mov byte [edx + 0x34], 0
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x100242fd
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edx + 0x70]
mov byte [edx + 0x60], al
push 9
mov byte [ebp - 4], 5
mov byte [edx + 0x68], 9
call fcn.10024ca0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x78], 0
mov ecx, dword [edi + 0xc]
xor esi, esi
mov edx, dword [edi]
mov byte [ebp - 4], 6
mov byte [ebp - 0x11], 1
test ecx, ecx
jns 0x10024350
mov eax, ecx
neg eax
cmp esi, eax
jae 0x10024350
add ecx, esi
mov esi, edx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1002435a
add ecx, esi
mov eax, ecx
shr eax, 5
lea esi, [edx + eax*4]
sub esi, edx
and ecx, 0x1f
sar esi, 2
mov eax, bind
shl esi, 5
add esi, ecx
mov ecx, dword [edi + 0xc]
sub eax, ecx
mov dword [ebp - 0x2c], esi
cmp eax, 1
jb 0x1002458b
mov edx, dword [edi + 4]
add ecx, 0x20
mov eax, dword [edi]
sub edx, eax
shr ecx, 5
sar edx, 2
mov dword [ebp - 0x1c], 0
cmp ecx, edx
jae 0x1002439d
lea eax, [eax + ecx*4]
jmp 0x100243c9
jbe 0x100243cc
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 2
cmp ecx, eax
lea eax, [ebp - 0x1c]
jbe 0x100243b9
push eax
push ecx
mov ecx, edi
call fcn.1001abd0
jmp 0x100243cc
push edi
push eax
sub ecx, edx
push ecx
push dword [edi + 4]
call fcn.1001aff0
add esp, 0x10
mov dword [edi + 4], eax
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x100243e1
lea eax, [edi + 1]
mov edi, dword [ebp - 0x18]
mov dword [edi + 0x1c], eax
jmp 0x10024513
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x10], esi
test edi, edi
jns 0x1002440e
mov eax, edi
neg eax
cmp ecx, eax
jae 0x1002440e
mov ecx, edi
mov edx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x10024418
add ecx, edi
mov eax, ecx
shr eax, 5
lea edx, [esi + eax*4]
mov eax, dword [ebp - 0x18]
inc edi
and ecx, 0x1f
mov dword [ebp - 0x24], edx
xor esi, esi
mov dword [eax + 0x1c], edi
test edi, edi
jns 0x1002444a
mov eax, edi
neg eax
cmp esi, eax
jae 0x1002444a
mov esi, edi
mov edi, dword [ebp - 0x10]
mov eax, esi
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edi, eax
jmp 0x10024457
add esi, edi
mov edi, dword [ebp - 0x10]
mov eax, esi
shr eax, 5
lea edi, [edi + eax*4]
mov eax, dword [ebp - 0x2c]
and esi, 0x1f
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
test eax, eax
jns 0x10024490
neg eax
cmp dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
jae 0x10024490
xor edx, edx
add eax, edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub dword [ebp - 0x10], eax
jmp 0x100244a6
xor edi, edi
add eax, edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
shr eax, 5
lea edi, [edi + eax*4]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
and eax, 0x1f
mov dword [ebp - 0x1c], eax
nop
cmp dword [ebp - 0x10], edx
jne 0x100244b9
cmp eax, ecx
je 0x1002450d
test ecx, ecx
je 0x100244c0
dec ecx
jmp 0x100244cb
sub edx, 4
mov ecx, 0x1f
mov dword [ebp - 0x24], edx
test esi, esi
je 0x100244d2
dec esi
jmp 0x100244dd
sub edi, 4
mov esi, 0x1f
mov dword [ebp - 0x28], edi
mov edx, dword [edi]
mov eax, 1
mov edi, dword [ebp - 0x24]
shl eax, cl
test dword [edi], eax
je 0x100244fd
mov edi, dword [ebp - 0x28]
bts edx, esi
mov dword [edi], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
jmp 0x100244b0
mov edi, dword [ebp - 0x28]
btr edx, esi
mov dword [edi], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
jmp 0x100244b0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov edx, dword [edi + 0x10]
xor eax, eax
mov ecx, eax
test esi, esi
jns 0x1002453d
mov eax, esi
neg eax
cmp ecx, eax
jae 0x1002453d
xor eax, eax
lea ecx, [eax + esi]
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x10024547
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0x11]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.1001e050
mov ecx, dword [ebp + 0x30]
add esp, 0x14
test ecx, ecx
je 0x10024576
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.10027160
int3