Function at 0x4f7e40
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.00503140
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], 0x4dffd0
mov dword [esp + 0x70], 0x57f678
mov dword [esp + 0x74], ebp
mov dword [esp + 0x7c], esp
mov dword [esp + 0x78], 0x4f839c
mov dword [esp], eax
call fcn.00521b40
test esi, esi
je 0x4f828d
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.00503240
mov esi, dword [eax + 0x14]
mov ecx, eax
mov edi, ecx
mov dword [esp + 0x1c], ecx
mov al, byte [esi]
test al, al
je 0x4f7f72
cmp byte [esi + 1], 0
je 0x4f7fca
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.005035f0
cmp eax, 0xfffffffe
jb 0x4f7f7c
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [edx + 8], 0x7f
jmp 0x4f7fd1
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.005039d0
mov edi, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4f823e
mov edx, dword [esp + 0x18]
mov byte [edx + 8], al
mov esi, dword [edi + 0x18]
mov al, byte [esi]
test al, al
je 0x4f8041
cmp byte [esi + 1], 0
je 0x4f8096
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.005035f0
cmp eax, 0xfffffffe
jb 0x4f8047
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov byte [edx + 9], 0x7f
jmp 0x4f8099
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.005039d0
mov edi, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x4f8265
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.00555b20
sub esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
lea ecx, [ecx + 0x18]
mov dword [esp + 0x58], 0xb
mov dword [esp], eax
mov dword [esp + 0x20], ecx
call fcn.00555b20
sub esp, 4
mov edx, dword [esp + 0x1c]
mov al, byte [edx + 0x29]
cmp al, 0x7f
jne 0x4f80e4
xor eax, eax
mov ecx, dword [esp + 0x18]
movsx eax, al
mov dword [ecx + 0x3c], eax
cmp byte [edx + 0x2e], 0
je 0x4f810f
mov eax, dword [edx + 0x20]
lea ecx, [ecx + 0x24]
mov dword [esp + 0x58], 0xd
mov dword [esp], eax
call fcn.00555b20
sub esp, 4
jmp 0x4f8129
lea ecx, [ecx + 0x24]
mov dword [esp + 0x58], 0xc
mov dword [esp], 0x5b6c7e
call fcn.00555b20
sub esp, 4
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x2f], 0
je 0x4f8152
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.00555b20
sub esp, 4
jmp 0x4f8170
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], 0xe
lea ecx, [eax + 0x30]
mov dword [esp], 0x5b6c7e
call fcn.00555b20
sub esp, 4
mov dword [esp + 0x58], 0x10
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
call fcn.00556b50
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], 0
call fcn.004f84b0
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], 0
call fcn.004f84b0
test byte [esp + 0x30], 1
je 0x4f8214
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004fc300
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.00521ba0
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 0x4f7fca
cmp ecx, 0xa0
je 0x4f7fca
jmp 0x4f7f72
movzx ecx, word [esp + 0x20]
mov edx, dword [esp + 0x18]
mov al, 0x20
cmp ecx, 0x202f
je 0x4f8096
cmp ecx, 0xa0
je 0x4f8096
jmp 0x4f8041
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 0x4f82c7
mov dword [esp + 0x58], 1
lea ecx, [esp + 0x40]
call fcn.0053ebb0
cmp dword [esp + 0x18], 0xb
jae 0x4f82e4
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x41]
mov eax, ecx
add al, cl
test ecx, ecx
mov byte [esp + 0x40], al
jne 0x4f831b
jmp 0x4f8332
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.004fc150
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.00555ed0
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.004e9eb0
mov eax, dword [esp + 0x58]
cmp eax, 0x14
jae case.default.0x4f83a7
jmp dword [eax*4 + 0x5b64c8]
jmp case.0x4f83a7.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 0x4f8476
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
test byte [esp + 0x30], 1
je 0x4f83bc
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004fc300
jmp 0x4f83bc
ud2
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
jmp 0x4f8476
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x4f8431
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
test byte [esp + 0x98], 1
je 0x4f8431
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004fc300
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 0x4f8476
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004fc300
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.00521e40
sub esp, 4
jmp case.0x4f83a7.19
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], eax
call fcn.0057dc50
sub esp, 4
nop word cs:[eax + eax]
nop dword [eax]