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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 4], 0x532475
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0x49cff0
mov dword [esp + 0x78], 0x5178d4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], esp
mov dword [esp + 0x80], 0x489e18
mov esi, eax
mov dword [esp], ecx
call fcn.004baef0
test esi, esi
je 0x489cfc
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x60], 0xffffffff
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], 0x3f
call fcn.0049ade0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x489d12
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x60], 5
movsd xmm0, qword [esp + 0x90]
movsd qword [esp], xmm0
call fcn.0049aee0
mov esi, dword [eax]
mov edx, eax
mov dword [esp + 0x40], eax
cmp byte [esi], 0
je 0x489c5d
mov dword [esp + 0x34], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], 6
movsd xmm0, qword [esp + 0x38]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x1e]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
mov edx, dword [esp + 0x40]
cmp eax, 0xfffffffd
ja 0x489c5d
movzx eax, word [esp + 0x1e]
mov ecx, dword [esp + 0x18]
mov word [ecx + 8], ax
mov esi, dword [edx + 4]
cmp byte [esi], 0
je 0x489ccb
mov dword [esp + 0x34], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], 7
movsd xmm0, qword [esp + 0x38]
lea ecx, [esp + 0x34]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x1e]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
mov edx, dword [esp + 0x40]
cmp eax, 0xfffffffd
ja 0x489ccb
movzx eax, word [esp + 0x1e]
mov ecx, dword [esp + 0x18]
mov word [ecx + 0xa], ax
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 8]
mov dword [esp + 0x60], 8
add ecx, 0xc
mov dword [esp], eax
call fcn.004ee530
sub esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 9
mov dword [esp], eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.004baf50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp], edi
call sub.msvcrt.dll_strlen
cmp eax, 0xfffffff0
mov dword [esp + 0x18], eax
jb 0x489d4c
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x28]
call fcn.004d7ad0
cmp dword [esp + 0x18], 0xb
jae 0x489d69
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x29]
mov eax, ecx
add al, cl
test ecx, ecx
mov byte [esp + 0x28], al
jne 0x489da0
jmp 0x489db7
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], 2
add eax, 0x10
and eax, 0xfffffff0
mov dword [esp + 0x20], eax
mov dword [esp], eax
call fcn.00493b40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x30], eax
or edx, 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x18]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0
mov dword [esp + 0x60], 3
lea ecx, [esp + 0x28]
mov dword [esp + 4], str.numpunct_byname_wchar_t_::numpunct_byname_failed_to_construct_for
mov dword [esp], 0
call fcn.004ee8e0
sub esp, 8
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x60], 4
lea ecx, [esp + 0x50]
call fcn.004818a0
mov eax, dword [esp + 0x60]
cmp eax, 0xa
jae case.default.0x489e23
jmp dword [eax*4 + 0x531b98]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 0xa
mov dword [esp], eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
jmp 0x489eb4
ud2
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
jmp 0x489eb4
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jmp 0x489e81
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
test byte [esp + 0x50], 1
je 0x489e81
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00493cf0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
test byte [esp + 0x28], 1
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
je 0x489eb4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00493cf0
mov eax, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004bb1f0
sub esp, 4
jmp case.0x489e23.9
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp], eax
call fcn.00516230
sub esp, 4
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
dec eax
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov word [ecx + 8], 0x2e
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0xa], 0x2c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [eax], 0x532834
test byte [edi], 1
je 0x489f36
mov edi, dword [edi + 8]
jmp 0x489f37
inc edi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 0x49cff0
mov dword [ebp - 0x28], 0x5178f4
mov dword [ebp - 0x24], ebp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x20], 0x489f83
mov dword [ebp - 0x40], 1
lea eax, [ebp - 0x44]
push eax
call fcn.004baef0
add esp, 4
mov ecx, esi
push edi
call fcn.00489b10
lea eax, [ebp - 0x44]
push eax
call fcn.004baf50
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x532790
mov eax, dword [ebp - 0x10]
test byte [eax + 0xc], 1
je 0x489fb9
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
call fcn.00493cf0
add esp, 4
mov ecx, dword [ebp - 0x10]
call fcn.00492a80
mov dword [ebp - 0x40], 0xffffffff
push esi
call fcn.004bb1f0
nop
push esi
mov dword [ecx], 0x532790
mov esi, ecx
test byte [ecx + 0xc], 1
je 0x489fea
push dword [esi + 0x14]
call fcn.00493cf0
add esp, 4
mov ecx, esi
call fcn.00492a80
push esi
call fcn.00493cf0
add esp, 4
pop esi
ret