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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov ebx, dword [ebp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 4], ecx
mov dword [esp + 0xbc], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], 0x3f
call fcn.0049ade0
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov edi, edx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x44], 0x49cff0
mov dword [esp + 0x48], 0x517bdc
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], esp
mov dword [esp + 0x50], 0x491352
lea eax, [esp + 0x2c]
push eax
call fcn.004baef0
add esp, 4
test esi, esi
je 0x49121d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0x30], 5
sub esp, 8
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp], xmm0
call fcn.0049aee0
add esp, 8
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0x14]
cmp byte [esi], 0
je 0x490b1f
mov dword [esp + 0x70], 0
push esi
call sub.msvcrt.dll_strlen
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x30], 6
sub esp, 0x18
movsd xmm0, qword [esp + 0xd0]
lea ecx, [esp + 0x88]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
add esp, 0x18
cmp eax, 0xfffffffd
jbe 0x490b2b
mov ecx, dword [esp + 4]
mov word [ecx + 8], 0xffff
jmp 0x490b38
mov ecx, dword [esp + 4]
mov word [ecx + 8], 0xffff
jmp 0x490b3c
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 4]
mov word [ecx + 8], ax
mov eax, dword [esp + 8]
mov esi, dword [eax + 0x18]
mov edi, dword [esp + 0x10]
cmp byte [esi], 0
je 0x490bb4
mov dword [esp + 0x70], 0
push esi
call sub.msvcrt.dll_strlen
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x30], 7
sub esp, 0x18
movsd xmm0, qword [esp + 0xd0]
lea ecx, [esp + 0x88]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0049b290
add esp, 0x18
cmp eax, 0xfffffffd
jbe 0x490bbc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov word [ecx + 0xa], 0xffff
jmp 0x490bcd
movzx eax, word [esp + 0x18]
mov ecx, dword [esp + 4]
mov word [ecx + 0xa], ax
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x1c]
lea ecx, [ecx + 0xc]
mov dword [esp + 0x30], 8
push eax
call fcn.004ee530
mov eax, dword [esp + 8]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xac], eax
mov dword [esp + 0x30], 9
sub esp, 0x18
movsd xmm0, qword [esp + 0xc0]
lea eax, [esp + 0x30]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], 0x64
mov dword [esp + 4], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
call fcn.0049b0b0
add esp, 0x18
cmp eax, 0xffffffff
je 0x491258
mov edi, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0xc], eax
lea eax, [eax + eax]
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, 4
sar edx, 1
mov cl, byte [edi + 0x18]
lea esi, [edi + 0x18]
test cl, 1
mov ebx, ecx
je 0x490c86
mov ebx, dword [esi]
mov eax, ebx
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x24], edx
sub edx, eax
mov dword [esp + 0x14], esi
jbe 0x490cc4
test cl, 1
jne 0x490c9e
movzx esi, cl
shr esi, 1
jmp 0x490ca1
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x30], 0xb
mov ecx, dword [esp + 0x14]
push 0
push esi
push 0
push esi
push edx
push eax
call fcn.004f11c0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 4]
mov bl, byte [esi]
test bl, 1
jne 0x490cce
lea ecx, [esi + 2]
jmp 0x490cd1
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0xc]
lea ebx, [esp + 0xb8]
test eax, eax
je 0x490cf0
lea edx, [eax + eax - 2]
shr edx, 1
inc edx
cmp edx, 8
jae 0x490cf7
mov eax, ecx
jmp 0x490d4f
mov eax, ecx
jmp 0x490d70
mov esi, eax
lea ebx, [esp + 0xb8]
lea eax, [ecx + eax*2]
cmp ebx, eax
lea esi, [esp + esi*2 + 0xb8]
setb al
cmp ecx, esi
jae 0x490d1f
test al, al
je 0x490d1f
mov esi, dword [esp + 0x14]
mov eax, ecx
jmp 0x490d4f
mov esi, edx
xor edi, edi
and esi, 0xfffffff8
lea eax, [ecx + esi*2]
lea ebx, [esp + esi*2 + 0xb8]
movups xmm0, xmmword [esp + edi*2 + 0xb8]
movups xmmword [ecx + edi*2], xmm0
add edi, 8
cmp esi, edi
jne 0x490d30
cmp edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x14]
je 0x490d70
mov ecx, dword [esp + 0xc]
lea ecx, [esp + ecx*2 + 0xb8]
nop word [eax + eax]
movzx edx, word [ebx]
add ebx, 2
mov word [eax], dx
add eax, 2
cmp ecx, ebx
jne 0x490d60
mov word [eax], 0
test byte [esi], 1
jne 0x490d82
mov eax, dword [esp + 0x1c]
mov byte [esi], al
jmp 0x490d89
mov eax, dword [esp + 0x24]
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 8]
mov al, byte [ecx + 0x29]
cmp al, 0x7f
jne 0x490d96
xor eax, eax
movsx eax, al
mov dword [edi + 0x3c], eax
cmp byte [ecx + 0x2e], 0
je 0x490e5d
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x30], 0xd
sub esp, 0x18
movsd xmm0, qword [esp + 0xb8]
lea eax, [esp + 0x30]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], 0x64
mov dword [esp + 4], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
call fcn.0049b0b0
add esp, 0x18
cmp eax, 0xffffffff
je 0x49126a
mov edi, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0xc], eax
lea eax, [eax + eax]
mov edx, eax
mov dword [esp + 0x24], eax
mov eax, 4
sar edx, 1
mov cl, byte [edi + 0x24]
lea esi, [edi + 0x24]
test cl, 1
mov ebx, ecx
je 0x490e47
mov ebx, dword [esi]
mov eax, ebx
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x6c], edx
sub edx, eax
jbe 0x490e9f
mov ebx, esi
test cl, 1
jne 0x490e77
movzx esi, cl
shr esi, 1
jmp 0x490e7a
lea ecx, [edi + 0x24]
mov dword [esp + 0x30], 0xc
push 0x5329c2
call fcn.004f0430
jmp 0x490f89
mov esi, dword [edi + 0x28]
mov dword [esp + 0x30], 0xf
mov ecx, ebx
mov dword [esp + 0x1c], ebx
push 0
push esi
push 0
push esi
push edx
push eax
call fcn.004f11c0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 4]
mov bl, byte [esi]
test bl, 1
jne 0x490ea9
lea ecx, [esi + 2]
jmp 0x490eac
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0xc]
lea ebx, [esp + 0xb8]
test eax, eax
je 0x490ecb
lea edx, [eax + eax - 2]
shr edx, 1
inc edx
cmp edx, 8
jae 0x490ed2
mov eax, ecx
jmp 0x490f46
mov eax, ecx
jmp 0x490f70
mov dword [esp + 0x1c], esi
mov esi, eax
lea ebx, [esp + 0xb8]
lea eax, [ecx + eax*2]
cmp ebx, eax
lea esi, [esp + esi*2 + 0xb8]
setb al
cmp ecx, esi
jae 0x490f05
test al, al
je 0x490f05
mov esi, dword [esp + 0x1c]
mov eax, ecx
lea ebx, [esp + 0xb8]
jmp 0x490f46
mov esi, edx
and esi, 0xfffffff8
lea edi, [esp + esi*2 + 0xb8]
lea eax, [ecx + esi*2]
mov dword [esp + 0x84], edi
xor edi, edi
nop dword [eax]
movups xmm0, xmmword [esp + edi*2 + 0xb8]
movups xmmword [ecx + edi*2], xmm0
add edi, 8
cmp esi, edi
jne 0x490f20
cmp edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
je 0x490f70
mov ecx, dword [esp + 0xc]
lea ecx, [esp + ecx*2 + 0xb8]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, word [ebx]
add ebx, 2
mov word [eax], dx
add eax, 2
cmp ecx, ebx
jne 0x490f60
mov word [eax], 0
test byte [esi], 1
jne 0x490f82
mov eax, dword [esp + 0x24]
mov byte [esi], al
jmp 0x490f89
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 8]
cmp byte [eax + 0x2f], 0
je 0x49104e
mov dword [esp + 0x18], 0
mov eax, dword [eax + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x30], 0x11
sub esp, 0x18
movsd xmm0, qword [esp + 0xb0]
lea eax, [esp + 0x30]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], 0x64
mov dword [esp + 4], eax
lea eax, [esp + 0xd0]
mov dword [esp], eax
call fcn.0049b0b0
add esp, 0x18
cmp eax, 0xffffffff
je 0x49127c
mov edi, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0x10], eax
lea eax, [eax + eax]
mov edx, eax
mov dword [esp + 0x1c], eax
mov eax, 4
sar edx, 1
mov cl, byte [edi + 0x30]
lea esi, [edi + 0x30]
test cl, 1
mov ebx, ecx
je 0x491038
mov ebx, dword [esi]
mov eax, ebx
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x24], edx
sub edx, eax
jbe 0x491094
mov ebx, esi
test cl, 1
jne 0x49106c
movzx esi, cl
shr esi, 1
jmp 0x49106f
mov eax, dword [esp + 4]
mov dword [esp + 0x30], 0x10
lea ecx, [eax + 0x30]
push 0x5329c2
call fcn.004f0430
jmp 0x491169
mov esi, dword [edi + 0x34]
mov dword [esp + 0x30], 0x13
mov ecx, ebx
mov dword [esp + 0xc], ebx
push 0
push esi
push 0
push esi
push edx
push eax
call fcn.004f11c0
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 4]
mov bl, byte [esi]
test bl, 1
jne 0x49109e
lea ecx, [esi + 2]
jmp 0x4910a1
mov ecx, dword [edi + 0x38]
mov eax, dword [esp + 0x10]
lea ebx, [esp + 0xb8]
test eax, eax
je 0x4910c0
lea edx, [eax + eax - 2]
shr edx, 1
inc edx
cmp edx, 8
jae 0x4910c7
mov eax, ecx
jmp 0x491133
mov eax, ecx
jmp 0x491150
mov dword [esp + 0xc], esi
mov esi, eax
lea ebx, [esp + 0xb8]
lea eax, [ecx + eax*2]
cmp ebx, eax
lea esi, [esp + esi*2 + 0xb8]
setb al
cmp ecx, esi
jae 0x4910fa
test al, al
je 0x4910fa
mov esi, dword [esp + 0xc]
mov eax, ecx
lea ebx, [esp + 0xb8]
jmp 0x491133
mov esi, edx
and esi, 0xfffffff8
lea edi, [esp + esi*2 + 0xb8]
lea eax, [ecx + esi*2]
mov dword [esp + 0x6c], edi
xor edi, edi
nop
movups xmm0, xmmword [esp + edi*2 + 0xb8]
movups xmmword [ecx + edi*2], xmm0
add edi, 8
cmp esi, edi
jne 0x491110
cmp edx, esi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x6c]
je 0x491150
mov ecx, dword [esp + 0x10]
lea ecx, [esp + ecx*2 + 0xb8]
nop
movzx edx, word [ebx]
add ebx, 2
mov word [eax], dx
add eax, 2
cmp ecx, ebx
jne 0x491140
mov word [eax], 0
test byte [esi], 1
jne 0x491162
mov eax, dword [esp + 0x1c]
mov byte [esi], al
jmp 0x491169
mov eax, dword [esp + 0x24]
mov dword [edi + 0x34], eax
mov dword [esp + 0x30], 0x14
lea ecx, [esp + 0x70]
push dword [esp + 0x14]
call fcn.004f1320
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
lea ecx, [eax + 0x40]
movsx eax, byte [edx + 0x2a]
movsx esi, byte [edx + 0x2b]
movsx edi, byte [edx + 0x2e]
mov dword [esp + 0x30], 0x15
lea edx, [esp + 0x70]
push edi
push esi
push eax
push 0
call fcn.00491450
add esp, 0x10
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
movsx eax, byte [edx + 0x2c]
movsx esi, byte [edx + 0x2d]
movsx edi, byte [edx + 0x2f]
add ecx, 0x44
mov dword [esp + 0x30], 0x16
mov edx, dword [esp + 0x14]
push edi
push esi
push eax
push 0
call fcn.00491450
add esp, 0x10
test byte [esp + 0x70], 1
je 0x4911f1
push dword [esp + 0x78]
call fcn.00493cf0
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], 0x17
push eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
add esp, 4
lea eax, [esp + 0x2c]
push eax
call fcn.004baf50
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
push ebx
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
mov dword [esp + 4], eax
jb 0x49128e
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x60]
call fcn.004d7ad0
mov dword [esp + 0x30], 0xa
push str.locale_not_supported
call fcn.0047bfc0
mov dword [esp + 0x30], 0xe
push str.locale_not_supported
call fcn.0047bfc0
mov dword [esp + 0x30], 0x12
push str.locale_not_supported
call fcn.0047bfc0
cmp dword [esp + 4], 0xb
jae 0x4912ab
mov ecx, dword [esp + 4]
lea esi, [esp + 0x61]
mov eax, ecx
add al, cl
test ecx, ecx
mov byte [esp + 0x60], al
jne 0x4912e3
jmp 0x4912f3
mov eax, dword [esp + 4]
mov dword [esp + 0x30], 2
add eax, 0x10
and eax, 0xfffffff0
mov dword [esp + 8], eax
push eax
call fcn.00493b40
add esp, 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, eax
mov dword [esp + 0x68], eax
or edx, 1
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
push dword [esp + 4]
push dword [ebp + 8]
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
mov byte [esi + eax], 0
mov dword [esp + 0x30], 3
lea ecx, [esp + 0x60]
push str.moneypunct_byname_failed_to_construct_for
push 0
call fcn.004ee8e0
mov ecx, dword [eax + 8]
mov dword [esp + 0x90], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x88], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x30], 4
lea ecx, [esp + 0x88]
call fcn.004818a0
mov eax, dword [esp + 0x30]
cmp eax, 0x18
jae case.default.0x49135d
jmp dword [eax*4 + 0x5322d0]
jmp case.0x49135d.19
jmp case.0x49135d.19
jmp case.0x49135d.19
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], 0x18
push eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
add esp, 4
jmp 0x491428
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
test byte [esp + 0x70], 1
je 0x491376
push dword [esp + 0x78]
call fcn.00493cf0
add esp, 4
jmp 0x491376
ud2
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
jmp 0x491428
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
jmp 0x4913ec
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
test byte [esp + 0x88], 1
je 0x4913ec
push dword [esp + 0x90]
call fcn.00493cf0
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
test byte [esp + 0x60], 1
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
je 0x491428
push dword [esp + 0x68]
call fcn.00493cf0
add esp, 4
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 4]
call fcn.004bb1f0
jmp case.0x49135d.23
mov eax, dword [esp + 0x38]
push dword [esp + 0x34]
call fcn.00516230
nop dword [eax + eax]
movsx eax, bl
mov dword [esi], 0x4000203
test eax, eax
je 0x4918aa
cmp eax, 2
je 0x4918aa
cmp eax, 1
jne case.default.0x49156a
test cl, cl
jne 0x4918aa
mov ecx, edx
jmp 0x491918
mov dword [esi], 0x4000302
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x20
push 1
push 0
call fcn.004f0950
jmp 0x4918aa