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

Disassembly:
sub esp, 0x85c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x86c]
test esi, esi
push edi
je 0x105e082a
mov ecx, dword [0x105d1aa8]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.105dda10
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x105e0413
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x85c
ret 0x14
mov eax, dword [esp + 0x874]
test eax, eax
je 0x105e082a
mov eax, dword [esp + 0x878]
test eax, eax
je 0x105e082a
mov eax, dword [esp + 0x87c]
test eax, eax
je 0x105e082a
mov eax, dword [esp + 0x880]
test eax, eax
je 0x105e082a
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 0x22c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x3bc]
rep stosd dword es:[edi], eax
mov ecx, 0x64
lea edi, [esp + 0x9c]
mov dword [esp + 0x2c], edx
push 0x40
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], edx
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ecx
lea edx, [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], ecx
push edx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x64], ecx
call fcn.105dc390
test ax, ax
jne 0x105e082e
mov al, byte [esp + 0x5c]
test al, al
jne 0x105e0517
mov eax, dword [0x105cd6c0]
mov ecx, dword [0x105cd6c4]
mov edx, dword [0x105cd6c8]
mov dword [esp + 0x5c], eax
mov ax, word [0x105cd6cc]
mov dword [esp + 0x60], ecx
mov cl, byte [0x105cd6ce]
mov dword [esp + 0x64], edx
mov word [esp + 0x68], ax
mov byte [esp + 0x6a], cl
push 0x284
lea edx, [esp + 0x54]
push 0x105ce4d8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x5c]
push eax
push ecx
push 2
push 0x105ce4d0
call fcn.105e6350
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x105e0563
push ebp
push 0x4a
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x3bc]
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 + 0x30]
lea edx, [esp + 0x3c0]
push ecx
push edx
push 0x105ce5bc
push 3
push 0x105ce3cc
call fcn.105e6350
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x105e05d1
push ebp
push 0x4a
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x9c]
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 ebx
lea ecx, [esp + 0xa0]
push ecx
call fcn.105e6430
mov edx, eax
add esp, 8
test edx, edx
jne 0x105e062e
push ebp
push 0x4a
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x9c]
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 ebx
lea ecx, [esp + 0x230]
lea edx, [esp + 0xa0]
push ecx
push ebp
push edx
call fcn.105e3700
add esp, 0x10
test ax, ax
je 0x105e0692
push ebp
push eax
call fcn.105dc940
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea eax, [esp + 0x22c]
push eax
call fcn.105e6120
mov esi, eax
add esp, 4
test esi, esi
jne 0x105e06c0
push ebp
push 0x42
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea ecx, [esp + 0x22c]
lea edx, [esp + 0x6dc]
push ecx
lea eax, [esp + 0x550]
push edx
push eax
push esi
push 3
push 0x105ce3cc
call fcn.105e5f80
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x105e070a
push ebp
push 0x42
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
push 0
call ebx
add esp, 4
mov esi, 0x105ce4c8
lea eax, [esp + 0x54c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x105e0745
test cl, cl
je 0x105e0741
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x105e0745
add eax, 2
add esi, 2
test cl, cl
jne 0x105e071d
xor eax, eax
jmp 0x105e074a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x105e0773
lea eax, [esp + 0x6dc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.105dca10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x238]
push ecx
push edx
push 4
push 0x105ce4d0
call fcn.105e5f80
add esp, 0x1c
test ax, ax
je 0x105e07bb
push ebp
push 0x42
call fcn.105dca10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea eax, [esp + 0x44]
push eax
call esi
mov ecx, dword [esp + 0x878]
lea edx, [esp + 0x24]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x880]
lea edx, [esp + 0x40]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x888]
lea edx, [esp + 0x20]
push edx
mov byte [ecx], al
call esi
mov ecx, dword [esp + 0x890]
lea esi, [ebp + 0x68]
push esi
mov byte [ecx], al
call dword [sym.imp.MSVCRT.dll_time]
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.105dca10
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14