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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov dword [esp + 0x10], ecx
mov esi, dword [ebp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], 0x3f
call fcn.006f2760
add esp, 0x10
mov edi, eax
mov ebx, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], 0x6eff40
mov dword [esp + 0x58], 0x9bba50
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], esp
mov dword [esp + 0x60], 0x4f2992
lea eax, [esp + 0x3c]
push eax
call fcn.006f0ec0
add esp, 4
test edi, edi
je 0x4f2914
mov dword [esp + 0x1c], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x40], 4
sub esp, 8
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp], xmm0
call fcn.006f2860
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x14]
cmp byte [esi], 0
je 0x4f20a1
mov dword [esp + 0x28], 0
mov word [esp + 0x18], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x40], 5
sub esp, 0x18
movsd xmm0, qword [esp + 0xc8]
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 + 0x30]
mov dword [esp], eax
call fcn.006f2c10
add esp, 0x18
cmp eax, 0xfffffffd
jbe 0x4f20ad
mov ecx, dword [esp + 0x10]
mov word [ecx + 8], 0xffff
jmp 0x4f20ba
mov ecx, dword [esp + 0x10]
mov word [ecx + 8], 0xffff
jmp 0x4f20be
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov word [ecx + 8], ax
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov esi, dword [eax + 0x18]
cmp byte [esi], 0
je 0x4f213a
mov dword [esp + 0x28], 0
mov word [esp + 0x18], 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0x40], 6
sub esp, 0x18
movsd xmm0, qword [esp + 0xc8]
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 + 0x30]
mov dword [esp], eax
call fcn.006f2c10
add esp, 0x18
cmp eax, 0xfffffffd
jbe 0x4f2142
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov word [ecx + 0xa], 0xffff
jmp 0x4f2153
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov word [ecx + 0xa], ax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
add ecx, 0xc
mov dword [esp + 0x40], 7
push eax
call fcn.005205a0
xorps xmm0, xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmmword [esp + 0x150], xmm0
movaps xmmword [esp + 0x140], xmm0
movaps xmmword [esp + 0x130], xmm0
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x110], xmm0
movaps xmmword [esp + 0x100], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x174], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x40], 8
sub esp, 0x18
movsd xmm0, qword [esp + 0xac]
movsd qword [esp + 0x10], xmm0
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 8], 0x64
call fcn.006f2a30
add esp, 0x18
cmp eax, 0xffffffff
je 0x4f297d
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0x18]
mov ebx, dword [edi + 0x18]
mov esi, ebx
and esi, 0xfffffffe
dec esi
test byte [edi + 0x18], 1
mov edx, 4
cmovne edx, esi
mov esi, eax
sub esi, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
jbe 0x4f228a
test bl, 1
je 0x4f229b
mov ebx, dword [edi + 0x1c]
jmp 0x4f22a0
test bl, 1
je 0x4f22c4
mov edi, dword [edi + 0x20]
test eax, eax
jne 0x4f22d3
jmp 0x4f23c0
shr ebx, 1
and ebx, 0x7f
mov dword [esp + 0x40], 0xa
push 0
push ebx
push 0
push ebx
push esi
push edx
call fcn.00522820
mov eax, dword [esp + 0x10]
test byte [eax + 0x18], 1
je 0x4f22d0
mov edi, dword [eax + 0x20]
jmp 0x4f22d3
add edi, 0x1a
test eax, eax
jne 0x4f22d3
jmp 0x4f23c0
lea edi, [eax + 0x1a]
mov eax, dword [esp + 0xc]
dec eax
and eax, 0x7fffffff
lea ebx, [esp + 0xb0]
cmp eax, 0xf
jb 0x4f2394
mov edx, edi
sub edx, ebx
cmp edx, 0x20
jb 0x4f2394
lea ecx, [eax + 1]
add eax, 0xfffffff1
mov edx, eax
shr edx, 4
inc edx
xor esi, esi
cmp eax, 0x10
jb 0x4f235b
mov eax, edx
and eax, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
movups xmm0, xmmword [esp + esi*2 + 0xb0]
movups xmm1, xmmword [esp + esi*2 + 0xc0]
movups xmmword [edi + esi*2], xmm0
movups xmmword [edi + esi*2 + 0x10], xmm1
movups xmm0, xmmword [esp + esi*2 + 0xd0]
movups xmm1, xmmword [esp + esi*2 + 0xe0]
movups xmmword [edi + esi*2 + 0x20], xmm0
movups xmmword [edi + esi*2 + 0x30], xmm1
add esi, 0x20
add eax, 0xfffffffe
jne 0x4f2320
mov eax, ecx
and eax, 0xfffffff0
test dl, 1
je 0x4f237e
movups xmm0, xmmword [esp + esi*2 + 0xb0]
movups xmm1, xmmword [esp + esi*2 + 0xc0]
movups xmmword [edi + esi*2], xmm0
movups xmmword [edi + esi*2 + 0x10], xmm1
lea edi, [edi + eax*2]
cmp ecx, eax
jne 0x4f238b
mov ecx, dword [esp + 0x1c]
jmp 0x4f23c0
lea ebx, [esp + eax*2]
add ebx, 0xb0
mov eax, dword [esp + 0xc]
lea edx, [esp + eax*2]
add edx, 0xb0
mov ecx, dword [esp + 0x1c]
nop word cs:[eax + eax]
movzx esi, word [ebx]
mov word [edi], si
add ebx, 2
add edi, 2
cmp ebx, edx
jne 0x4f23b0
mov word [edi], 0
test byte [ecx], 1
jne 0x4f23e3
mov eax, dword [esp + 0xc]
add al, al
mov byte [ecx], al
mov edx, dword [esp + 0x14]
lea esi, [esp + 0xb0]
mov edi, dword [esp + 0x10]
jmp 0x4f23f9
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [edi + 0x1c], eax
mov edx, dword [esp + 0x14]
lea esi, [esp + 0xb0]
movzx eax, byte [edx + 0x29]
xor ecx, ecx
cmp al, 0x7f
cmovne ecx, eax
movsx eax, cl
mov dword [edi + 0x3c], eax
cmp byte [edx + 0x2e], 0
je 0x4f24b4
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x40], 0xc
sub esp, 0x18
movsd xmm0, qword [esp + 0xa4]
movsd qword [esp + 0x10], xmm0
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 8], 0x64
call fcn.006f2a30
add esp, 0x18
cmp eax, 0xffffffff
je 0x4f28ff
mov edi, eax
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x24]
mov ecx, eax
and ecx, 0xfffffffe
dec ecx
test byte [ebx + 0x24], 1
mov edx, 4
cmovne edx, ecx
mov esi, edi
sub esi, edx
mov dword [esp + 0xc], edi
jbe 0x4f24ce
test al, 1
je 0x4f24d9
mov eax, dword [ebx + 0x28]
jmp 0x4f24de
lea ecx, [edi + 0x24]
mov dword [esp + 0x40], 0xb
push 0x88030c
call fcn.00522a60
jmp 0x4f260f
mov ecx, edi
test al, 1
je 0x4f2506
mov eax, dword [ebx + 0x2c]
jmp 0x4f2509
shr eax, 1
and eax, 0x7f
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0xd
push 0
push eax
push 0
push eax
push esi
push edx
call fcn.00522820
mov ebx, dword [esp + 0x10]
test byte [ebx + 0x24], 1
je 0x4f2519
mov eax, dword [ebx + 0x2c]
jmp 0x4f251c
lea eax, [ebx + 0x26]
lea esi, [esp + 0xb0]
test ecx, ecx
jne 0x4f2523
jmp 0x4f25f0
lea eax, [ebx + 0x26]
lea esi, [esp + 0xb0]
mov ecx, dword [esp + 0xc]
lea edi, [ecx - 1]
and edi, 0x7fffffff
cmp edi, 0xf
jb 0x4f25d2
mov ecx, eax
sub ecx, esi
cmp ecx, 0x20
jb 0x4f25ce
lea ecx, [edi + 1]
add edi, 0xfffffff1
mov edx, edi
shr edx, 4
inc edx
xor esi, esi
cmp edi, 0x10
jb 0x4f259b
mov edi, edx
and edi, 0xfffffffe
xor esi, esi
movups xmm0, xmmword [esp + esi*2 + 0xb0]
movups xmm1, xmmword [esp + esi*2 + 0xc0]
movups xmmword [eax + esi*2], xmm0
movups xmmword [eax + esi*2 + 0x10], xmm1
movups xmm0, xmmword [esp + esi*2 + 0xd0]
movups xmm1, xmmword [esp + esi*2 + 0xe0]
movups xmmword [eax + esi*2 + 0x20], xmm0
movups xmmword [eax + esi*2 + 0x30], xmm1
add esi, 0x20
add edi, 0xfffffffe
jne 0x4f2560
mov edi, ecx
and edi, 0xfffffff0
test dl, 1
je 0x4f25be
movups xmm0, xmmword [esp + esi*2 + 0xb0]
movups xmm1, xmmword [esp + esi*2 + 0xc0]
movups xmmword [eax + esi*2], xmm0
movups xmmword [eax + esi*2 + 0x10], xmm1
lea eax, [eax + edi*2]
cmp ecx, edi
je 0x4f25f0
lea esi, [esp + edi*2]
add esi, 0xb0
mov ecx, dword [esp + 0xc]
lea ecx, [esp + ecx*2]
add ecx, 0xb0
nop dword [eax + eax]
movzx edx, word [esi]
mov word [eax], dx
add esi, 2
add eax, 2
cmp esi, ecx
jne 0x4f25e0
mov word [eax], 0
mov ecx, dword [esp + 0x20]
test byte [ecx], 1
jne 0x4f2608
mov eax, dword [esp + 0xc]
add al, al
mov byte [ecx], al
jmp 0x4f260f
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2f], 0
je 0x4f26c4
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x40], 0xf
sub esp, 0x18
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0x10], xmm0
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 8], 0x64
call fcn.006f2a30
add esp, 0x18
cmp eax, 0xffffffff
je 0x4f28ff
mov edi, eax
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x30]
mov ecx, eax
and ecx, 0xfffffffe
dec ecx
test byte [ebx + 0x30], 1
mov edx, 4
cmovne edx, ecx
mov esi, edi
sub esi, edx
mov dword [esp + 0xc], edi
jbe 0x4f26e2
test al, 1
je 0x4f26ed
mov eax, dword [ebx + 0x34]
jmp 0x4f26f2
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x30]
mov dword [esp + 0x40], 0xe
push 0x88030c
call fcn.00522a60
jmp 0x4f282f
mov ecx, edi
test al, 1
je 0x4f271a
mov eax, dword [ebx + 0x38]
jmp 0x4f271d
shr eax, 1
and eax, 0x7f
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0x11
push 0
push eax
push 0
push eax
push esi
push edx
call fcn.00522820
mov ebx, dword [esp + 0x10]
test byte [ebx + 0x30], 1
je 0x4f272d
mov eax, dword [ebx + 0x38]
jmp 0x4f2730
lea eax, [ebx + 0x32]
lea esi, [esp + 0xb0]
test ecx, ecx
jne 0x4f2737
jmp 0x4f2810
lea eax, [ebx + 0x32]
lea esi, [esp + 0xb0]
mov ecx, dword [esp + 0xc]
lea edi, [ecx - 1]
and edi, 0x7fffffff
cmp edi, 0xf
jb 0x4f27f2
mov ecx, eax
sub ecx, esi
cmp ecx, 0x20
jb 0x4f27ee
lea ecx, [edi + 1]
add edi, 0xfffffff1
mov edx, edi
shr edx, 4
inc edx
xor esi, esi
cmp edi, 0x10
jb 0x4f27bb
mov edi, edx
and edi, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
movups xmm0, xmmword [esp + esi + 0xb0]
movups xmm1, xmmword [esp + esi + 0xc0]
movups xmmword [eax + esi], xmm0
movups xmmword [eax + esi + 0x10], xmm1
movups xmm0, xmmword [esp + esi + 0xd0]
movups xmm1, xmmword [esp + esi + 0xe0]
movups xmmword [eax + esi + 0x20], xmm0
movups xmmword [eax + esi + 0x30], xmm1
add esi, 0x40
add edi, 0xfffffffe
jne 0x4f2780
mov edi, ecx
and edi, 0xfffffff0
test dl, 1
je 0x4f27de
movups xmm0, xmmword [esp + esi + 0xb0]
movups xmm1, xmmword [esp + esi + 0xc0]
movups xmmword [eax + esi], xmm0
movups xmmword [eax + esi + 0x10], xmm1
lea eax, [eax + edi*2]
cmp ecx, edi
je 0x4f2810
lea esi, [esp + edi*2]
add esi, 0xb0
mov ecx, dword [esp + 0xc]
lea ecx, [esp + ecx*2]
add ecx, 0xb0
nop dword [eax + eax]
movzx edx, word [esi]
mov word [eax], dx
add esi, 2
add eax, 2
cmp esi, ecx
jne 0x4f2800
mov word [eax], 0
mov ecx, dword [esp + 0x20]
test byte [ecx], 1
jne 0x4f2828
mov eax, dword [esp + 0xc]
add al, al
mov byte [ecx], al
jmp 0x4f282f
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x34], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0x12
lea ecx, [esp + 0x28]
push dword [esp + 0x1c]
call fcn.00521a60
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x40]
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + 0x2a]
movsx esi, byte [edx + 0x2b]
movsx edi, byte [edx + 0x2e]
mov dword [esp + 0x40], 0x13
lea edx, [esp + 0x28]
push edi
push esi
push eax
push 0
call fcn.004f2a60
add esp, 0x10
mov ecx, dword [esp + 0x10]
add ecx, 0x44
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + 0x2c]
movsx esi, byte [edx + 0x2d]
movsx edi, byte [edx + 0x2f]
mov dword [esp + 0x40], 0x14
mov edx, dword [esp + 0x1c]
push edi
push esi
push eax
push 0
call fcn.004f2a60
add esp, 0x10
test byte [esp + 0x28], 1
je 0x4f28cf
push dword [esp + 0x30]
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4f28e8
mov dword [esp + 0x40], 0x15
push eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
add esp, 4
lea eax, [esp + 0x3c]
push eax
call fcn.006f0f20
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x40], 0x10
push str.locale_not_supported
call fcn.004dfae0
add esp, 4
mov dword [esp + 0x40], 1
lea ecx, [esp + 0xa4]
push esi
call fcn.005105c0
mov dword [esp + 0x40], 2
lea ecx, [esp + 0xa4]
push str.moneypunct_byname_failed_to_construct_for
push 0
call fcn.005208d0
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x78], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esp + 0x40], 3
lea ecx, [esp + 0x78]
call fcn.004e3780
mov dword [esp + 0x40], 9
push str.locale_not_supported
call fcn.004dfae0
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, 0x15
jb switch.0x004f299f
ud2
jmp dword [eax*4 + 0x87fc20]
jmp case.0x4f299f.13
jmp case.0x4f299f.13
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
test byte [esp + 0x78], 1
je 0x4f29f1
push dword [esp + 0x80]
call fcn.0051c570
add esp, 4
jmp 0x4f29f1
jmp case.0x4f299f.13
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
test byte [esp + 0x28], 1
je 0x4f2a2e
push dword [esp + 0x30]
call fcn.0051c570
add esp, 4
jmp 0x4f2a2e
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
test byte [esp + 0xa4], 1
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
je 0x4f2a2e
push dword [esp + 0xac]
call fcn.0051c570
add esp, 4
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
jmp 0x4f2a2e
jmp case.0x4f299f.13
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x34]
call fcn.00517ca0
mov dword [esp + 0x40], 0xffffffff
push esi
call fcn.006f11c0
mov eax, dword [esp + 0x48]
push dword [esp + 0x44]
call fcn.004cc770
nop word cs:[eax + eax]
mov dword [esi], 0x4000203
jmp 0x4f2e07
movsx eax, dl
test eax, eax
je 0x4f2ea4
cmp eax, 2
je 0x4f2ea4
cmp eax, 1
jne case.default.0x4f2adc
jmp 0x4f2ee3
mov dword [esi], 0x4000302
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
test cl, cl
jne 0x4f2ea4
mov ecx, ebp
push 0x20
push 1
push 0
call fcn.00522df0
jmp 0x4f2ea4