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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x878
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x1024fa73
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x878
ret 0xc
mov ecx, dword [0x10241aa8]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.1024da10
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1024fa9d
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x878
ret 0xc
mov ax, word [ebx + 0x44]
test ax, ax
je 0x1024fe5c
cmp ax, 0xffff
je 0x1024fe5c
mov ebp, dword [esp + 0x894]
cmp bp, word [ebx + 0x1a4]
ja 0x1024fe44
cmp bp, 7
ja 0x1024fae6
push ebx
push 4
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x248]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3d8]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], ecx
mov ecx, 0xc
lea edi, [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], edx
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
xor ecx, ecx
stosw word es:[edi], ax
mov dword [esp + 0x34], edx
lea edx, [esp + 0x20]
movsx eax, word [ebx + 0x5a]
mov cx, word [ebx + eax*2 + 0x46]
push ecx
push 0x1023e4d8
push edx
call esi
xor eax, eax
lea ecx, [esp + 0x20]
mov ax, word [ebx + 0x44]
push eax
push 0x1023e4d8
push ecx
call esi
mov edx, dword [esp + 0x8a8]
lea eax, [esp + 0x5c]
and edx, 0xffff
push edx
push 0x1023e4d8
push eax
call esi
and ebp, 0xffff
lea ecx, [esp + 0x50]
push ebp
push 0x1023e4d8
push ecx
call esi
mov eax, dword [esp + 0x8bc]
add esp, 0x30
lea edx, [esp + 0x78]
push 0x40
push edx
push eax
call fcn.1024c390
test ax, ax
jne 0x1024fe60
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push 4
push 0x1023e4d0
call fcn.10256350
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x1024fc12
push ebx
push 0x4a
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x3d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
mov ebp, dword [sym.imp.MSVCRT.dll_free]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x3dc]
push ecx
push edx
push 0x1023e5a4
push 3
push 0x1023e3cc
call fcn.10256350
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x1024fc80
push ebx
push 0x4a
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0xb8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0xbc]
push ecx
call fcn.10256430
mov edx, eax
add esp, 8
test edx, edx
jne 0x1024fcdd
push ebx
push 0x4a
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0xb8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebp
lea ecx, [esp + 0x24c]
lea edx, [esp + 0xbc]
push ecx
push ebx
push edx
call fcn.10253700
add esp, 0x10
test ax, ax
je 0x1024fd41
push ebx
push eax
call fcn.1024c940
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
lea eax, [esp + 0x248]
push eax
call fcn.10256120
mov esi, eax
add esp, 4
test esi, esi
jne 0x1024fd6f
push ebx
push 0x42
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
lea ecx, [esp + 0x248]
lea edx, [esp + 0x6f8]
push ecx
lea eax, [esp + 0x56c]
push edx
push eax
push esi
push 3
push 0x1023e3cc
call fcn.10255f80
push esi
mov edi, eax
call ebp
add esp, 0x1c
test di, di
je 0x1024fdb9
push ebx
push 0x42
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov edi, 0x1023e4c8
lea esi, [esp + 0x568]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x1024fded
test al, al
je 0x1024fde9
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x1024fded
add esi, 2
add edi, 2
test al, al
jne 0x1024fdc5
xor eax, eax
jmp 0x1024fdf2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1024fe1b
lea eax, [esp + 0x6f8]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebx
push eax
call fcn.1024ca10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
lea esi, [ebx + 0x68]
push esi
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebx
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.1024ca10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
push ebx
push 5
call fcn.1024ca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x878
ret 0xc