Function at 0x10024100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100af296
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x12c]
lea esi, [ebx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x10024160
mov eax, dword [esi]
test eax, eax
je 0x10024160
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x124], 0
xorps xmm0, xmm0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x124], 1
lea eax, [esp + 0x68]
mov ecx, dword [ebx]
push eax
call fcn.100220e0
test al, al
jne 0x100241b7
mov ebp, dword [esp + 0x68]
xor bl, bl
jmp 0x10024872
lea ecx, [esp + 0x30]
call fcn.100203d0
mov byte [esp + 0x124], 2
mov edi, dword [ebx]
add edi, 0x24
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x100241ff
push edi
lea ecx, [esp + 0x34]
call fcn.100249b0
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x40]
call fcn.100249b0
lea eax, [edi + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.100249b0
mov eax, dword [edi + 0x24]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.10021940
mov ebp, dword [esp + 0x68]
test al, al
jne 0x1002421d
xor bl, bl
jmp 0x10024861
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movq qword [esp + 0x74], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x124], 3
lea edx, [esp + 0x74]
lea ecx, [esp + 0x30]
call fcn.10020db0
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
cmp eax, edi
jne 0x1002426e
xor bl, bl
jmp 0x10024834
xor eax, eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
mov byte [esp + 0x124], 4
lea edx, [esp + 0xb0]
mov ecx, dword [esp + 0x2c]
call fcn.10017f40
push 0x100cb75c
lea ecx, [esp + 0x84]
call fcn.10007750
mov byte [esp + 0x124], 5
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xe4]
call fcn.10029260
mov byte [esp + 0x124], 7
cmp dword [esp + 0x94], 8
jb 0x1002430a
push dword [esp + 0x80]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], eax
mov word [esp + 0x98], ax
mov byte [esp + 0x124], 8
lea eax, [esp + 0x98]
cmp dword [esp + 0xc0], 0
lea ecx, [esp + 0xe0]
push eax
jne 0x10024499
lea eax, [esp + 0x100]
push eax
call fcn.10029460
test al, al
je 0x100244ae
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.10028b70
mov byte [esp + 0x124], 9
lea eax, [esp + 0x98]
push 0x80
push 2
push 1
push 0x40000000
push eax
lea ecx, [esp + 0x2c]
call fcn.10028c20
test al, al
je 0x10024787
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x58]
push ecx
sub edi, eax
mov dword [esp + 0x5c], 0
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.10028db0
lea ecx, [esp + 0x18]
test al, al
je 0x10024782
cmp dword [esp + 0x58], edi
jne 0x10024782
mov edi, dword [esp + 0x6c]
lea eax, [esp + 0x58]
push eax
push 4
lea eax, [esp + 0xd0]
sub edi, ebp
push eax
mov dword [esp + 0xd4], edi
call fcn.10028db0
test al, al
je 0x1002477e
cmp dword [esp + 0x58], 4
jne 0x1002477e
cmp ebp, dword [esp + 0x6c]
je 0x1002445c
lea eax, [esp + 0x58]
push eax
push edi
push ebp
lea ecx, [esp + 0x24]
call fcn.10028db0
test al, al
je 0x1002477e
cmp dword [esp + 0x58], edi
jne 0x1002477e
cmp dword [esp + 0x18], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x1c], xmm0
je 0x100244b5
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.10028ec0
test al, al
je 0x100244b5
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x1c]
push edi
push esi
call fcn.10028f50
jmp 0x100244bd
lea eax, [esp + 0xb4]
push eax
call fcn.100293b0
test al, al
jne 0x1002438c
xor bl, bl
jmp 0x1002479a
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.10028e00
lea ecx, [esp + 0x28]
call fcn.10019040
lea eax, [ebx + 8]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0xdc]
movq qword [esp + 0xdc], xmm0
call fcn.10020350
mov byte [esp + 0x124], 0xa
xor bl, bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], 0
call fcn.10028b70
mov byte [esp + 0x124], 0xb
lea eax, [esp + 0x98]
push 0x80
push 3
push 1
push 0x80000000
push eax
lea ecx, [esp + 0x30]
call fcn.10028c20
test al, al
je 0x1002456f
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002456f
cmp dword [eax], 0xffffffff
je 0x1002456f
push 0
lea ecx, [esp + 0x64]
xorps xmm0, xmm0
push ecx
push 0
movlpd qword [esp + 0x68], xmm0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x10024574
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10024574
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], 0
call fcn.10028b70
mov byte [esp + 0x124], 0xc
cmp byte [esp + 0x17], 0
jne 0x100246e8
push 0x80
push 4
push 1
push 0x40000000
push dword [esp + 0x3c]
lea ecx, [esp + 0x70]
call fcn.10028c20
test al, al
je 0x100246e8
xorps xmm0, xmm0
mov dword [esp + 0x88], 0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov byte [esp + 0x124], 0xd
lea eax, [esp + 0x17]
push eax
lea eax, [esi + 8]
mov byte [esp + 0x1b], 0
push eax
lea ecx, [esp + 0x88]
call fcn.1001e230
lea eax, [esp + 0x58]
push eax
push esi
push dword [esp + 0x88]
lea ecx, [esp + 0x28]
call fcn.10028d70
test al, al
je 0x100246d4
cmp esi, dword [esp + 0x58]
jne 0x100246d4
test edi, edi
jne 0x100246d4
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x100246d4
cmp dword [eax], 0xffffffff
je 0x100246d4
push edi
lea ecx, [esp + 0xd4]
xorps xmm0, xmm0
push ecx
push edi
movlpd qword [esp + 0xd8], xmm0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xcc], eax
cmp eax, 0xffffffff
jne 0x1002468e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100246d4
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push esi
push dword [esp + 0x88]
lea ecx, [esp + 0x68]
call fcn.10028db0
test al, al
je 0x100246d4
xor eax, eax
cmp dword [esp + 0x58], esi
jne 0x100246d4
cmp eax, edi
jne 0x100246d4
push edi
push esi
lea ecx, [esp + 0x64]
call fcn.10028f50
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov byte [esp + 0x124], 0xc
lea ecx, [esp + 0x80]
call fcn.1000f570
lea ecx, [esp + 0x5c]
call fcn.10028e00
lea ecx, [esp + 0x1c]
call fcn.10028e00
test bl, bl
jne 0x10024742
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov ebp, dword [esp + 0x2c]
lea ebx, [ebx]
mov edx, ebp
lea ecx, [esp + 0x98]
call fcn.100273d0
mov bl, al
call dword [sym.imp.KERNEL32.dll_GetLastError]
test bl, bl
jne 0x1002473e
cmp eax, 0x20
je 0x10024734
cmp eax, 0x21
jne 0x10024738
push 0xa
call edi
inc esi
cmp esi, 0xa
jb 0x10024710
mov ebp, dword [esp + 0x68]
mov byte [esp + 0x124], 0xb
lea ecx, [esp + 0x5c]
call fcn.10028be0
mov byte [esp + 0x124], 0xa
lea ecx, [esp + 0x1c]
call fcn.10028be0
mov byte [esp + 0x124], 9
lea ecx, [esp + 0xd8]
call fcn.100203a0
mov esi, dword [esp + 0x28]
jmp 0x10024789
lea ecx, [esp + 0x18]
call fcn.10028e00
xor bl, bl
mov byte [esp + 0x124], 8
lea ecx, [esp + 0x18]
call fcn.10028be0
mov byte [esp + 0x124], 7
cmp dword [esp + 0xac], 8
jb 0x100247bb
push dword [esp + 0x98]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
mov byte [esp + 0x124], 4
lea ecx, [esp + 0xe0]
call fcn.10029300
mov byte [esp + 0x124], 3
cmp dword [esp + 0xc4], 8
jb 0x10024810
push dword [esp + 0xb0]
call fcn.10034183
add esp, 4
xor eax, eax
mov dword [esp + 0xc4], 7
mov word [esp + 0xb0], ax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc0], 0
mov byte [esp + 0x124], 2
test eax, eax
je 0x10024861
push eax
call fcn.10034183
add esp, 4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x124], 1
lea ecx, [esp + 0x30]
call fcn.100231c0
mov byte [esp + 0x124], 0
test ebp, ebp
je 0x1002489f
push ebp
call fcn.10034183
add esp, 4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x124], 0xffffffff
test esi, esi
je 0x100248c3
mov eax, dword [esi]
test eax, eax
je 0x100248bb
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x28], 0
mov al, bl
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10033901
add esp, 0x114
ret 4