Function at 0x4f2120
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], 0x5b6735
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], 0x4dffd0
mov dword [esp + 0x78], 0x57f3d8
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], esp
mov dword [esp + 0x80], 0x4f2428
mov esi, eax
mov dword [esp], ecx
call fcn.00521b40
test esi, esi
je 0x4f230c
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.00503140
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x4f2322
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.00503240
mov esi, dword [eax]
mov edx, eax
mov dword [esp + 0x40], eax
cmp byte [esi], 0
je 0x4f226d
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.005035f0
mov edx, dword [esp + 0x40]
cmp eax, 0xfffffffd
ja 0x4f226d
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 0x4f22db
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.005035f0
mov edx, dword [esp + 0x40]
cmp eax, 0xfffffffd
ja 0x4f22db
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.00555b20
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.00521ba0
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 0x4f235c
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x28]
call fcn.0053ebb0
cmp dword [esp + 0x18], 0xb
jae 0x4f2379
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x29]
mov eax, ecx
add al, cl
test ecx, ecx
mov byte [esp + 0x28], al
jne 0x4f23b0
jmp 0x4f23c7
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.004fc150
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.00555ed0
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.004e9eb0
mov eax, dword [esp + 0x60]
cmp eax, 0xa
jae case.default.0x4f2433
jmp dword [eax*4 + 0x5b5e58]
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 0x4f24c4
ud2
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
jmp 0x4f24c4
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
jmp 0x4f2491
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
test byte [esp + 0x50], 1
je 0x4f2491
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004fc300
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 0x4f24c4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004fc300
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.00521e40
sub esp, 4
jmp case.0x4f2433.9
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0057dc50
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], 0x5b6af4
test byte [edi], 1
je 0x4f2546
mov edi, dword [edi + 8]
jmp 0x4f2547
inc edi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 0x4dffd0
mov dword [ebp - 0x28], 0x57f3f8
mov dword [ebp - 0x24], ebp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x20], 0x4f2593
mov dword [ebp - 0x40], 1
lea eax, [ebp - 0x44]
push eax
call fcn.00521b40
add esp, 4
mov ecx, esi
push edi
call fcn.004f2120
lea eax, [ebp - 0x44]
push eax
call fcn.00521ba0
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], 0x5b6a50
mov eax, dword [ebp - 0x10]
test byte [eax + 0xc], 1
je 0x4f25c9
mov eax, dword [ebp - 0x10]
push dword [eax + 0x14]
call fcn.004fc300
add esp, 4
mov ecx, dword [ebp - 0x10]
call fcn.004fb090
mov dword [ebp - 0x40], 0xffffffff
push esi
call fcn.00521e40
nop
push esi
mov dword [ecx], 0x5b6a50
mov esi, ecx
test byte [ecx + 0xc], 1
je 0x4f25fa
push dword [esi + 0x14]
call fcn.004fc300
add esp, 4
mov ecx, esi
call fcn.004fb090
push esi
call fcn.004fc300
add esp, 4
pop esi
ret