Function at 0x4f1980
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 + 0x20], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], 0x3f
call fcn.006f2760
mov edi, eax
mov ebx, edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], 0x6eff40
mov dword [esp + 0x60], 0x9bba20
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x4f1e6d
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.006f0ec0
test edi, edi
je 0x4f1dee
mov dword [esp + 0x2c], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x48], 4
movsd xmm0, qword [esp + 0x98]
movsd qword [esp], xmm0
call fcn.006f2860
mov ecx, eax
mov esi, dword [eax + 0x14]
movzx eax, byte [esi]
test al, al
mov edi, ecx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
je 0x4f1ac2
cmp byte [esi + 1], 0
je 0x4f1b15
mov dword [esp + 0x40], 0
mov word [esp + 0x26], 0
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], 5
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x10], xmm0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [esp + 0x26]
mov dword [esp], eax
call fcn.006f2c10
cmp eax, 0xfffffffe
jb 0x4f1acc
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov byte [ecx + 8], 0x7f
jmp 0x4f1b1c
movzx ecx, word [esp + 0x26]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x48], 6
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x94], ecx
mov dword [esp], ecx
call fcn.006f2ff0
mov edi, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x4f1d9d
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov byte [ecx + 8], al
mov esi, dword [edi + 0x18]
movzx eax, byte [esi]
test al, al
je 0x4f1b90
cmp byte [esi + 1], 0
je 0x4f1bdc
mov dword [esp + 0x40], 0
mov word [esp + 0x26], 0
mov dword [esp], esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], 7
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x10], xmm0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [esp + 0x26]
mov dword [esp], eax
call fcn.006f2c10
cmp eax, 0xfffffffe
jb 0x4f1b96
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov byte [ecx + 9], 0x7f
jmp 0x4f1bdf
movzx ecx, word [esp + 0x26]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x48], 8
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 4], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp], ecx
call fcn.006f2ff0
mov edi, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x4f1dc7
mov ecx, dword [esp + 0x20]
mov byte [ecx + 9], al
mov eax, dword [edi + 0x1c]
add ecx, 0xc
mov dword [esp + 0x48], 9
mov dword [esp], eax
call fcn.005205a0
sub esp, 4
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
add ecx, 0x18
mov dword [esp + 0x48], 0xa
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.005205a0
sub esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x28]
xor ecx, ecx
cmp al, 0x7f
cmovne ecx, eax
movsx eax, cl
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x3c], eax
cmp byte [edx + 0x2e], 0
je 0x4f1c56
mov eax, dword [edx + 0x20]
add ecx, 0x24
mov dword [esp + 0x48], 0xc
mov dword [esp], eax
call fcn.005205a0
sub esp, 4
jmp 0x4f1c70
add ecx, 0x24
mov dword [esp + 0x48], 0xb
mov dword [esp], 0x880308
call fcn.005205a0
sub esp, 4
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x2f], 0
je 0x4f1c99
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x20]
add ecx, 0x30
mov dword [esp + 0x48], 0xe
mov dword [esp], eax
call fcn.005205a0
sub esp, 4
jmp 0x4f1cb7
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x30]
mov dword [esp + 0x48], 0xd
mov dword [esp], 0x880308
call fcn.005205a0
sub esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0xf
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
lea ecx, [esp + 0x30]
call fcn.0051f860
sub esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x40]
mov esi, dword [esp + 0x28]
movsx eax, byte [esi + 0x2a]
movsx edx, byte [esi + 0x2b]
movsx esi, byte [esi + 0x2e]
mov dword [esp + 0x48], 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 1
lea edx, [esp + 0x30]
call fcn.004f1510
mov ecx, dword [esp + 0x20]
add ecx, 0x44
mov edx, dword [esp + 0x28]
movsx eax, byte [edx + 0x2c]
movsx esi, byte [edx + 0x2d]
movsx edx, byte [edx + 0x2f]
mov dword [esp + 0x48], 0x11
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], 1
mov edx, dword [esp + 0x1c]
call fcn.004f1510
test byte [esp + 0x30], 1
je 0x4f1d73
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0051c570
mov dword [esp + 0x48], 0x12
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.006f0f20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov al, 0x20
mov ecx, dword [esp + 0x94]
cmp ecx, 0x202f
mov ebx, dword [esp + 0x1c]
je 0x4f1b15
cmp ecx, 0xa0
je 0x4f1b15
jmp 0x4f1ac2
mov al, 0x20
mov edx, dword [esp + 0x1c]
cmp edx, 0x202f
mov ecx, dword [esp + 0x20]
je 0x4f1bdc
cmp edx, 0xa0
je 0x4f1bdc
jmp 0x4f1b90
mov dword [esp + 0x48], 1
mov dword [esp], esi
lea ecx, [esp + 0xa8]
call fcn.005105c0
sub esp, 4
mov dword [esp + 0x48], 2
mov dword [esp + 4], str.moneypunct_byname_failed_to_construct_for
mov dword [esp], 0
lea ecx, [esp + 0xa8]
call fcn.005208d0
sub esp, 8
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x88], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esp + 0x48], 3
lea ecx, [esp + 0x88]
call fcn.004e3780
mov eax, dword [esp + 0x48]
cmp eax, 0x12
jb switch.0x004f1e7a
ud2
jmp dword [eax*4 + 0x87fbd8]
jmp case.0x4f1e7a.3
jmp case.0x4f1e7a.3
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
test byte [esp + 0x88], 1
je 0x4f1eba
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.0051c570
jmp 0x4f1eba
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
jmp 0x4f1f1a
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
test byte [esp + 0xa8], 1
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
je 0x4f1f1a
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.0051c570
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
jmp 0x4f1f1a
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
test byte [esp + 0x30], 1
je 0x4f1f1a
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0051c570
lea ecx, [esp + 0xa0]
call fcn.00517ca0
mov dword [esp + 0x48], 0xffffffff
mov dword [esp], esi
call fcn.006f11c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004cc770
nop word cs:[eax + eax]