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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1016e725
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4e8
mov eax, dword [0x101b6f10]
push ebx
mov ebx, ecx
mov dword [esp + 0x4e4], eax
mov eax, dword [ebx + 0x20b0]
push esi
mov esi, dword [eax]
cmp esi, eax
push edi
je 0x10024d7a
lea ecx, [esp + 0x2e8]
call fcn.101512c0
mov ecx, dword [ebx + 0x3c]
and dword [esp + 0x4fc], 0
lea eax, [esp + 0x2e8]
push eax
push dword [esi + 0xc]
call fcn.10043b86
test al, al
je 0x10024d55
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x2e8]
push edx
push dword [esi + 0xc]
push 7
call dword [eax + 0x10]
mov edi, dword [esi + 0xc]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
lea ecx, [ebx + 0x2094]
push eax
mov dword [esp + 0x24], edi
call fcn.100d83df
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x10024d37
mov byte [ecx + 0x10], 1
jmp 0x10024d55
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0x2094]
mov dword [esp + 0x30], edi
mov byte [esp + 0x34], 1
call fcn.10024683
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [ebx + 0x20ac]
call fcn.100231f3
or dword [esp + 0x4fc], 0xffffffff
lea ecx, [esp + 0x2e8]
call fcn.101512b0
cmp dword [ebx + 0x20b4], 0
jne 0x10025321
cmp dword [ebx + 0x20a8], 0
je 0x10025321
lea ecx, [esp + 0x50]
call fcn.100128e0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebx + 0xc96]
push edx
lea edx, [ebx + 0xb96]
push edx
mov dword [esp + 0x504], 1
call dword [eax + 0x220]
fld1
mov dword [esp + 0x50], 0x15
mov byte [esp + 0x54], 1
lea esi, [ebx + 0x18b4]
lea edi, [esp + 0x1c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18c4]
lea edi, [esp + 0x1d8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18d4]
lea edi, [esp + 0x1f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x20a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18e4]
lea edi, [esp + 0x1e8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x224]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x10025310
mov eax, dword [ebx + 0x90]
lea esi, [eax + 0x170]
mov eax, dword [esp + 0x18]
add eax, 0xc
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.100448fa
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x1c]
cmp esi, eax
je 0x100252e6
mov edi, dword [esi + 0x10]
test edi, edi
je 0x100252e6
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [ebx + 0x2094]
call fcn.100d83df
mov eax, dword [ebx + 0x2098]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
je 0x100252db
cmp byte [ecx + 0x10], 0
je 0x100252db
cmp dword [edi + 0x78], 0
jle 0x10024ea8
lea eax, [esp + 0x4c]
jmp 0x100252ea
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [esp + 0x158], eax
mov esi, dword [esi + 0x10]
push 0x10
add esi, 0x20
pop ecx
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x10]
lea esi, [esp + 0x40]
lea edi, [esp + 0x15c]
fld dword [eax + 0x58]
push 0x18
fld dword [eax + 0x54]
mov eax, dword [eax + 0x50]
fstp dword [esp + 0x48]
mov dword [esp + 0x44], eax
fstp dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ecx + 0x10]
add eax, 0x60
push eax
lea eax, [esp + 0x2cc]
push eax
call fcn.101594c0
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x44]
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
jle 0x10024f32
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x78], eax
jmp 0x10024f3d
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x90]
add eax, 8
cmp dword [esp + 0x2d4], 2
push eax
push dword [esp + 0x18]
jne 0x10024f5f
call fcn.100404b1
jmp 0x10024f75
cmp dword [esp + 0x2dc], 1
jne 0x10024f70
call fcn.1004056a
jmp 0x10024f75
call fcn.100403f8
lea ecx, [esp + 0x3e8]
call fcn.101512c0
mov eax, dword [esi + 0x10]
mov dword [eax + 0x7c], edi
mov eax, dword [esi + 0x10]
mov dword [eax + 0x80], edi
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x60]
cmp ecx, edi
mov eax, dword [eax + 0x64]
mov byte [esp + 0x4fc], 2
jbe 0x10024fe6
cmp eax, edi
lea eax, [esp + 0x10]
jbe 0x10024fc9
push edi
push 1
push dword [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.10017ff8
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x7c], ecx
jmp 0x10024fff
push 1
push 1
push dword [esp + 0x1c]
push ecx
push eax
mov ecx, ebx
call fcn.10017ff8
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x7c], ecx
jmp 0x1002500c
cmp eax, edi
jbe 0x1002500c
push 2
push 1
push dword [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10017ff8
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
mov dword [eax + 0x80], ecx
cmp dword [ebx + 0x208c], 0x9c50
jne 0x100252ab
cmp dword [esp + 0x158], 0x46ce
jne 0x100252ab
fld dword [esp + 0x15c]
mov dword [esp + 0x20], edi
fcomp dword [0x10181a10]
fnstsw ax
test ah, 0x41
jne 0x100250a0
fld dword [esp + 0x15c]
fcomp dword [0x10181a0c]
fnstsw ax
test ah, 5
jp 0x100250a0
fld dword [esp + 0x164]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 0x41
jne 0x100250a0
fld dword [esp + 0x164]
fcomp dword [0x10181a0c]
fnstsw ax
test ah, 5
jp 0x100250a0
mov eax, dword [ebx + 0xe534]
cmp eax, edi
je 0x10025091
mov dword [esp + 0x20], eax
jmp 0x100250a0
mov ecx, dword [ebx + 0x20]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2e4]
fld dword [esp + 0x15c]
fcomp dword [0x1017fbf4]
fnstsw ax
test ah, 0x41
jne 0x1002510f
fld dword [esp + 0x15c]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 5
jp 0x1002510f
fld dword [esp + 0x164]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 0x41
jne 0x1002510f
fld dword [esp + 0x164]
fcomp dword [0x10181a0c]
fnstsw ax
test ah, 5
jp 0x1002510f
mov eax, dword [ebx + 0xe530]
cmp eax, edi
je 0x10025100
mov dword [esp + 0x20], eax
jmp 0x1002510f
mov ecx, dword [ebx + 0x20]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2e4]
fld dword [esp + 0x15c]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 0x41
jne 0x1002517e
fld dword [esp + 0x15c]
fcomp dword [0x10181a0c]
fnstsw ax
test ah, 5
jp 0x1002517e
fld dword [esp + 0x164]
fcomp dword [0x1017fbf4]
fnstsw ax
test ah, 0x41
jne 0x1002517e
fld dword [esp + 0x164]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 5
jp 0x1002517e
mov eax, dword [ebx + 0xe53c]
cmp eax, edi
je 0x1002516f
mov dword [esp + 0x20], eax
jmp 0x1002517e
mov ecx, dword [ebx + 0x20]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2e4]
fld dword [esp + 0x15c]
fcomp dword [0x1017fbf4]
fnstsw ax
test ah, 0x41
jne 0x100251ed
fld dword [esp + 0x15c]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 5
jp 0x100251ed
fld dword [esp + 0x164]
fcomp dword [0x1017fbf4]
fnstsw ax
test ah, 0x41
jne 0x100251ed
fld dword [esp + 0x164]
fcomp dword [0x10181a10]
fnstsw ax
test ah, 5
jp 0x100251ed
mov eax, dword [ebx + 0xe538]
cmp eax, edi
je 0x100251de
mov dword [esp + 0x20], eax
jmp 0x100251ed
mov ecx, dword [ebx + 0x20]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x2e4]
cmp dword [esp + 0x20], edi
jbe 0x100252ab
mov esi, dword [esp + 0x20]
movzx eax, byte [esp + 0x21]
movzx edi, byte [esp + 0x22]
and esi, 0xff
cmp esi, 1
mov dword [esp + 0x30], eax
jb 0x100252ab
cmp esi, 0x48
ja 0x100252ab
cmp eax, 1
jb 0x100252ab
cmp eax, 0x54
ja 0x100252ab
cmp edi, 1
jb 0x100252ab
cmp edi, 0x48
ja 0x100252ab
lea ecx, [esp + 0x2e8]
call fcn.101512c0
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x2e8]
push eax
mov eax, dword [esp + 0x34]
add eax, 0x6fb8
push eax
mov byte [esp + 0x504], 3
call fcn.10046bfa
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x24]
push eax
add edi, 0x7080
push edi
call fcn.10047f29
push dword [esp + 0x24]
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x2ec]
push edx
push esi
push dword [esp + 0x20]
call dword [eax + 0x2e0]
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x4fc], 2
call fcn.101512b0
push dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0x20a0]
call fcn.100231f3
mov eax, dword [eax]
lea ecx, [esp + 0x3e8]
mov dword [esp + 0x18], eax
mov byte [esp + 0x4fc], 1
call fcn.101512b0
jmp 0x10025300
lea ecx, [esp + 0x18]
call fcn.10012bbe
jmp 0x10025300
lea eax, [esp + 0x28]
push dword [esp + 0x18]
lea ecx, [ebx + 0x20a0]
push eax
call fcn.100231f3
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x20a4]
jne 0x10024e2f
or dword [esp + 0x4fc], 0xffffffff
lea ecx, [esp + 0x55]
call fcn.101512b0
mov ecx, dword [ebx + 0x18a4]
push 4
call fcn.101525f0
fstp dword [esp + 0x24]
mov eax, dword [ebx + 0x216c]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x10], esi
je 0x100253de
fld dword [esp + 0x24]
fsub dword [esi + 0x10]
fcomp dword [ebx + 0x2164]
fnstsw ax
test ah, 0x41
jne 0x100253c5
lea edi, [esi + 0xc]
push edi
lea eax, [esp + 0x20]
lea ecx, [ebx + 0x2140]
push eax
call fcn.100d83df
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebx + 0x2144]
je 0x100253c5
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100253ac
cmp dword [eax + 8], 0
jg 0x100253ac
push eax
call fcn.101594b4
pop ecx
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebx + 0x2140]
call fcn.10023478
mov ecx, dword [ebx + 0x20]
push dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0x2168]
call fcn.10023478
mov esi, dword [eax]
mov dword [esp + 0x10], esi
jmp 0x100253d2
lea ecx, [esp + 0x10]
call fcn.100462a8
mov esi, dword [esp + 0x10]
cmp esi, dword [ebx + 0x216c]
jne 0x10025346
mov ecx, dword [esp + 0x4f4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4ec]
xor eax, eax
call fcn.101581be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret