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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov dword [esp + 0x98], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x9c], 0
mov ebx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], 0x3f
call fcn.0049ade0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
mov edi, edx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x6c], 0x49cff0
mov dword [esp + 0x70], 0x517ba8
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], esp
mov dword [esp + 0x78], 0x4908bc
mov dword [esp], eax
call fcn.004baef0
test esi, esi
je 0x4907ad
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0x58], 5
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp], xmm0
call fcn.0049aee0
mov esi, dword [eax + 0x14]
mov ecx, eax
mov edi, ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
test al, al
je 0x490492
cmp byte [esi + 1], 0
je 0x4904ea
mov dword [esp + 0x50], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], 6
movsd xmm0, qword [esp + 0x30]
lea ecx, [esp + 0x50]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x26]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
cmp eax, 0xfffffffe
jb 0x49049c
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [edx + 8], 0x7f
jmp 0x4904f1
mov eax, dword [esp + 0x28]
movzx ecx, word [esp + 0x26]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x58], 7
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xa4], ecx
mov dword [esp], ecx
call fcn.0049b670
mov edi, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x49075e
mov edx, dword [esp + 0x18]
mov byte [edx + 8], al
mov esi, dword [edi + 0x18]
mov al, byte [esi]
test al, al
je 0x490561
cmp byte [esi + 1], 0
je 0x4905b6
mov dword [esp + 0x50], 0
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], 8
movsd xmm0, qword [esp + 0x30]
lea ecx, [esp + 0x50]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x26]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
cmp eax, 0xfffffffe
jb 0x490567
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [edx + 9], 0x7f
jmp 0x4905b9
mov eax, dword [esp + 0x28]
movzx ecx, word [esp + 0x26]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov dword [esp + 0x58], 9
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x20], ecx
mov dword [esp], ecx
call fcn.0049b670
mov edi, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x490785
mov edx, dword [esp + 0x18]
mov byte [edx + 9], al
mov eax, dword [edi + 0x1c]
lea ecx, [edx + 0xc]
mov dword [esp + 0x58], 0xa
mov dword [esp], eax
call fcn.004ee530
sub esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
lea ecx, [ecx + 0x18]
mov dword [esp + 0x58], 0xb
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.004ee530
sub esp, 4
mov edx, dword [esp + 0x1c]
mov al, byte [edx + 0x28]
cmp al, 0x7f
jne 0x490604
xor eax, eax
mov ecx, dword [esp + 0x18]
movsx eax, al
mov dword [ecx + 0x3c], eax
cmp byte [edx + 0x2e], 0
je 0x49062f
mov eax, dword [edx + 0x20]
lea ecx, [ecx + 0x24]
mov dword [esp + 0x58], 0xd
mov dword [esp], eax
call fcn.004ee530
sub esp, 4
jmp 0x490649
lea ecx, [ecx + 0x24]
mov dword [esp + 0x58], 0xc
mov dword [esp], 0x5329be
call fcn.004ee530
sub esp, 4
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x2f], 0
je 0x490672
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x58], 0xf
lea ecx, [ecx + 0x30]
mov dword [esp], eax
call fcn.004ee530
sub esp, 4
jmp 0x490690
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0xe
lea ecx, [eax + 0x30]
mov dword [esp], 0x5329be
call fcn.004ee530
sub esp, 4
mov dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
call fcn.004ef560
sub esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 0x40]
movsx eax, byte [esi + 0x2a]
movsx edx, byte [esi + 0x2b]
movsx esi, byte [esi + 0x2e]
mov dword [esp + 0x58], 0x11
mov dword [esp + 8], edx
lea edx, [esp + 0x30]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.0048fea0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsx eax, byte [edx + 0x2c]
movsx esi, byte [edx + 0x2d]
movsx edx, byte [edx + 0x2f]
add ecx, 0x44
mov dword [esp + 0x58], 0x12
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.0048fea0
test byte [esp + 0x30], 1
je 0x490734
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00493cf0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], 0x13
mov dword [esp], eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.004baf50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx ecx, word [esp + 0xa4]
mov al, 0x20
cmp ecx, 0x202f
je 0x4904ea
cmp ecx, 0xa0
je 0x4904ea
jmp 0x490492
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x18]
mov al, 0x20
cmp ecx, 0x202f
je 0x4905b6
cmp ecx, 0xa0
je 0x4905b6
jmp 0x490561
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp eax, 0xfffffff0
mov dword [esp + 0x18], eax
jb 0x4907e7
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x40]
call fcn.004d7ad0
cmp dword [esp + 0x18], 0xb
jae 0x490804
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x41]
mov eax, ecx
add al, cl
test ecx, ecx
mov byte [esp + 0x40], al
jne 0x49083b
jmp 0x490852
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 2
add eax, 0x10
and eax, 0xfffffff0
mov dword [esp + 0x1c], eax
mov dword [esp], eax
call fcn.00493b40
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x48], eax
or edx, 1
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 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 + 0x58], 3
lea ecx, [esp + 0x40]
mov dword [esp + 4], str.moneypunct_byname_failed_to_construct_for
mov dword [esp], 0
call fcn.004ee8e0
sub esp, 8
mov ecx, dword [eax + 8]
mov dword [esp + 0xa0], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x98], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x58], 4
lea ecx, [esp + 0x98]
call fcn.004818a0
mov eax, dword [esp + 0x58]
cmp eax, 0x14
jae case.default.0x4908c7
jmp dword [eax*4 + 0x532280]
jmp case.0x4908c7.15
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], 0x14
mov dword [esp], eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
jmp 0x490996
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
test byte [esp + 0x30], 1
je 0x4908dc
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00493cf0
jmp 0x4908dc
ud2
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
jmp 0x490996
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x490951
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
test byte [esp + 0x98], 1
je 0x490951
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00493cf0
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
test byte [esp + 0x40], 1
mov eax, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
je 0x490996
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00493cf0
mov eax, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004bb1f0
sub esp, 4
jmp case.0x4908c7.19
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], eax
call fcn.00516230
sub esp, 4
nop word cs:[eax + eax]
nop dword [eax]