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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x890
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x101525e3
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x890
ret 0x14
mov ecx, dword [0x10144aa8]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.10150a10
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0x10], edx
jne 0x10152611
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x890
ret 0x14
mov ax, word [edx + 0x44]
test ax, ax
je 0x10152a3a
cmp ax, 0xffff
je 0x10152a3a
mov ebp, dword [esp + 0x8ac]
cmp bp, word [edx + 0x1a4]
ja 0x10152a29
cmp bp, 7
ja 0x10152653
pop edi
pop esi
pop ebp
mov ax, 4
pop ebx
add esp, 0x890
ret 0x14
mov ebx, dword [esp + 0x8b4]
cmp bl, 7
je 0x10152675
cmp bl, 3
jbe 0x10152675
pop edi
pop esi
pop ebp
mov ax, 6
pop ebx
add esp, 0x890
ret 0x14
xor eax, eax
mov ecx, 0x64
mov dword [esp + 0x50], eax
lea edi, [esp + 0x260]
mov dword [esp + 0x54], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3f0]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov ecx, 0xc
lea edi, [esp + 0x5c]
mov dword [esp + 0x34], eax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
stosw word es:[edi], ax
mov dword [esp + 0x24], ecx
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
movsx eax, word [edx + 0x5a]
mov cx, word [edx + eax*2 + 0x46]
lea edx, [esp + 0x44]
push ecx
push 0x101414d8
push edx
call esi
mov edi, dword [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0x38]
mov ax, word [edi + 0x44]
push eax
push 0x101414d8
push ecx
call esi
mov edx, dword [esp + 0x8c0]
lea eax, [esp + 0x74]
and edx, 0xffff
push edx
push 0x101414d8
push eax
call esi
and ebp, 0xffff
lea ecx, [esp + 0x44]
push ebp
push 0x101414d8
push ecx
call esi
mov edx, dword [esp + 0x8e0]
lea eax, [esp + 0x44]
and edx, 0xffff
push edx
push 0x101414d8
push eax
call esi
and ebx, 0xff
lea ecx, [esp + 0x74]
push ebx
push 0x101414d8
push ecx
call esi
add esp, 0x48
lea edx, [esp + 0x90]
push 0x40
push edx
mov eax, dword [esp + 0x8ac]
push eax
call fcn.1014f390
test ax, ax
jne 0x10152a3e
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
push 6
push 0x101414d0
call fcn.10159350
mov edx, eax
add esp, 0x20
test edx, edx
jne 0x101527f7
push edi
push 0x4a
call fcn.1014fa10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x3f0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, 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 ebx
lea ecx, [esp + 0x54]
lea edx, [esp + 0x3f4]
push ecx
push edx
push 0x10141594
push 3
push 0x101413cc
call fcn.10159350
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x10152869
mov eax, dword [esp + 0x10]
push eax
push 0x4a
call fcn.1014fa10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0xd4]
push ecx
call fcn.10159430
mov edx, eax
add esp, 8
test edx, edx
jne 0x101528c4
mov edx, dword [esp + 0x10]
push edx
push 0x4a
call fcn.1014fa10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0xd8]
push ebp
push edx
call fcn.10156700
add esp, 0x10
test ax, ax
je 0x10152926
push ebp
push eax
call fcn.1014f940
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea eax, [esp + 0x260]
push eax
call fcn.10159120
mov esi, eax
add esp, 4
test esi, esi
jne 0x10152954
push ebp
push 0x42
call fcn.1014fa10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea ecx, [esp + 0x260]
lea edx, [esp + 0x710]
push ecx
lea eax, [esp + 0x584]
push edx
push eax
push esi
push 3
push 0x101413cc
call fcn.10158f80
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x1015299e
push ebp
push 0x42
call fcn.1014fa10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
mov esi, 0x101414c8
lea eax, [esp + 0x580]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x101529d2
test cl, cl
je 0x101529ce
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x101529d2
add eax, 2
add esi, 2
test cl, cl
jne 0x101529aa
xor eax, eax
jmp 0x101529d7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10152a00
lea eax, [esp + 0x710]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.1014fa10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
lea esi, [ebp + 0x68]
push esi
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.1014fa10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14
pop edi
pop esi
pop ebp
mov ax, 5
pop ebx
add esp, 0x890
ret 0x14
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x890
ret 0x14