Function at 0x102453d0
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 0x1024582a
mov ecx, dword [0x10236aa8]
mov eax, dword [esi + 0x54]
push ecx
push eax
call fcn.10242a10
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10245413
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 0x1024582a
mov eax, dword [esp + 0x878]
test eax, eax
je 0x1024582a
mov eax, dword [esp + 0x87c]
test eax, eax
je 0x1024582a
mov eax, dword [esp + 0x880]
test eax, eax
je 0x1024582a
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.10241390
test ax, ax
jne 0x1024582e
mov al, byte [esp + 0x5c]
test al, al
jne 0x10245517
mov eax, dword [0x102326c0]
mov ecx, dword [0x102326c4]
mov edx, dword [0x102326c8]
mov dword [esp + 0x5c], eax
mov ax, word [0x102326cc]
mov dword [esp + 0x60], ecx
mov cl, byte [0x102326ce]
mov dword [esp + 0x64], edx
mov word [esp + 0x68], ax
mov byte [esp + 0x6a], cl
push 0x284
lea edx, [esp + 0x54]
push 0x102334d8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x5c]
push eax
push ecx
push 2
push 0x102334d0
call fcn.1024b350
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x10245563
push ebp
push 0x4a
call fcn.10241a10
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 0x102335bc
push 3
push 0x102333cc
call fcn.1024b350
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x102455d1
push ebp
push 0x4a
call fcn.10241a10
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.1024b430
mov edx, eax
add esp, 8
test edx, edx
jne 0x1024562e
push ebp
push 0x4a
call fcn.10241a10
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.10248700
add esp, 0x10
test ax, ax
je 0x10245692
push ebp
push eax
call fcn.10241940
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x85c
ret 0x14
lea eax, [esp + 0x22c]
push eax
call fcn.1024b120
mov esi, eax
add esp, 4
test esi, esi
jne 0x102456c0
push ebp
push 0x42
call fcn.10241a10
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 0x102333cc
call fcn.1024af80
push esi
mov edi, eax
call ebx
add esp, 0x1c
test di, di
je 0x1024570a
push ebp
push 0x42
call fcn.10241a10
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, 0x102334c8
lea eax, [esp + 0x54c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10245745
test cl, cl
je 0x10245741
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10245745
add eax, 2
add esi, 2
test cl, cl
jne 0x1024571d
xor eax, eax
jmp 0x1024574a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10245773
lea eax, [esp + 0x6dc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
push ebp
push eax
call fcn.10241a10
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 0x102334d0
call fcn.1024af80
add esp, 0x1c
test ax, ax
je 0x102457bb
push ebp
push 0x42
call fcn.10241a10
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.10241a10
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