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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1e0
mov edi, dword [ebp + 8]
movaps xmm0, xmmword [0x5b6190]
mov al, byte [ebp + 0xc]
movaps xmm1, xmmword [0x5b61a0]
mov byte [esp + 0x17], 0
mov byte [esp + 0x15], 0x25
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
movups xmmword [esp + 0x8c], xmm0
movups xmmword [esp + 0x9c], xmm1
mov dword [esp + 0xac], 0xffffffff
mov byte [esp + 0x16], al
lea eax, [esp + 0x8c]
lea esi, [esp + 0x178]
lea ecx, [esp + 0x15]
push eax
push ecx
push 0x64
push esi
call sub.msvcrt.dll_strftime
add esp, 0x10
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], esi
movsd xmm0, qword [edi]
movsd qword [esp + 0x80], xmm0
sub esp, 0x18
movsd xmm0, qword [esp + 0x98]
lea eax, [esp + 0x90]
lea edi, [esp + 0xc8]
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x8c]
mov dword [esp], edi
mov dword [esp + 8], 0x64
mov dword [esp + 4], eax
call fcn.00503410
add esp, 0x18
mov esi, eax
mov dword [esp + 0x30], 0x4dffd0
mov dword [esp + 0x34], 0x57f568
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], esp
mov dword [esp + 0x3c], 0x4f4fce
lea eax, [esp + 0x18]
push eax
call fcn.00521b40
add esp, 4
cmp esi, 0xffffffff
je 0x4f4fbc
mov eax, dword [esp]
test esi, esi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
je 0x4f4fa1
lea eax, [esp + esi*2 + 0xb0]
lea edx, [esp + esi*2 + 0xae]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 8]
lea esi, [eax + 0xb0]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp]
mov dword [esp + 0x70], edx
lea edx, [eax + 0x1d0]
lea eax, [eax + 0x1e8]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x60], eax
add ecx, 2
mov dword [esp + 0x5c], ecx
nop dword [eax]
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi]
mov dword [esp + 4], edi
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x1c], 1
push eax
push 8
call edx
test al, al
je 0x4f48f0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 2
push 0x20
call fcn.005588a0
mov edi, dword [esp + 4]
nop word cs:[eax + eax]
cmp dword [esp + 0x70], edi
je 0x4f4970
mov ecx, dword [ebp + 0x10]
movzx eax, word [edi + 2]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x1c], 3
push eax
push 8
mov dword [esp + 0xc], edi
call edx
mov edi, dword [esp + 4]
add edi, 2
test al, al
jne 0x4f48b0
jmp 0x4f4d60
mov eax, dword [esp + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 4
push 0
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
call fcn.00564db0
add esp, 0x1c
sub eax, dword [esp + 0x58]
cmp eax, 0xa7
jg 0x4f4990
mov ecx, dword [esp]
mov dword [esp + 0x1c], 5
push 0x25
mov dword [esp + 8], eax
call fcn.005588a0
mov eax, dword [esp + 4]
cmp eax, 0x53
jg 0x4f4a43
mov ecx, dword [esp]
mov dword [esp + 0x1c], 6
push 0x41
call fcn.005588a0
jmp 0x4f4a55
mov edi, dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 8
push 0
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
call fcn.00564db0
add esp, 0x1c
sub eax, dword [esp + 0x54]
cmp eax, 0x11f
jg 0x4f4a68
mov ecx, dword [esp]
mov dword [esp + 0x1c], 9
push 0x25
mov dword [esp + 8], eax
call fcn.005588a0
mov eax, dword [esp + 4]
cmp eax, 0x8f
jg 0x4f4c22
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0xa
push 0x42
call fcn.005588a0
mov eax, dword [esp + 4]
cmp byte [ebp + 0xc], 0x78
jne 0x4f4ccf
mov ecx, dword [ebp + 8]
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea eax, [eax + eax*2]
test byte [ecx + eax*4 + 0xb0], 1
jne 0x4f4c87
lea eax, [ecx + eax*4 + 0xb0]
add eax, 2
jmp 0x4f4c8e
mov ecx, dword [esp]
mov dword [esp + 0x1c], 7
push 0x61
call fcn.005588a0
mov edi, dword [esp + 8]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov eax, dword [esp + 0x50]
movzx eax, byte [eax]
test al, 1
jne 0x4f4a7a
mov edx, dword [ebp + 8]
shr eax, 1
jmp 0x4f4a83
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1d4]
movzx ecx, byte [edx + 0x1dc]
mov esi, dword [esp + 4]
test cl, 1
jne 0x4f4a9b
shr ecx, 1
add eax, ecx
jne 0x4f4aa5
jmp 0x4f4b18
mov ecx, dword [edx + 0x1e0]
add eax, ecx
je 0x4f4b18
mov dword [esp + 8], esi
mov dword [esp + 0x1c], 0xd
push 0
lea eax, [esp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [esp + 0x6c]
push dword [esp + 0x60]
push dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
call fcn.00564db0
add esp, 0x1c
sub eax, dword [esp + 0x50]
mov esi, dword [esp + 4]
cmp eax, 0x17
jg 0x4f4b18
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0xe
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0xf
push 0x70
call fcn.005588a0
mov edi, dword [esp + 8]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], esi
movzx eax, word [esi]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x1c], 0x10
push eax
push 4
call edx
mov ecx, dword [esp + 4]
test al, al
movzx edx, word [ecx]
mov ecx, dword [ebp + 0x10]
je 0x4f4c3d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], 0x11
movzx edx, dx
mov dword [esp + 0x4c], edx
push edx
push 4
call eax
test al, al
je 0x4f4ce2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], 0x12
push 0
push dword [esp + 0x50]
call eax
mov edx, dword [esp + 4]
movsx ecx, al
add edx, 2
add ecx, 0xffffffd0
cmp edx, dword [esp + 0xc]
je 0x4f4c18
mov eax, 0xfffffffe
nop dword [eax + eax]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x68], eax
movzx esi, word [edx]
mov dword [esp + 4], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], 0x13
mov dword [esp + 0x6c], esi
push esi
push 4
call eax
test al, al
je 0x4f4d82
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], 0x14
movzx edx, word [esp + 0x6c]
push 0
push edx
call eax
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
movsx eax, al
add edx, 2
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2 - 0x30]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4f4c0e
inc eax
cmp edx, dword [esp + 0xc]
jne 0x4f4ba0
cmp edx, dword [esp + 0xc]
jne 0x4f4d8a
or byte [esp + 0x10], 2
jmp 0x4f4d8a
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0xb
push 0x62
call fcn.005588a0
mov eax, dword [esp + 4]
jmp 0x4f4a0d
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], 0x2c
movzx edx, dx
push 0
push edx
call eax
cmp al, 0x25
jne 0x4f4d3a
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x2d
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x2e
push 0x25
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d56
mov eax, dword [ecx + eax*4 + 0xb8]
mov ecx, dword [ebp + 0x10]
movzx eax, word [eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x1c], 0xc
push eax
push 4
call edx
test al, al
je 0x4f4ccf
mov eax, dword [esp]
movzx eax, byte [eax]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmove eax, dword [esp + 0x5c]
mov edx, dword [esp]
cmovne ecx, dword [edx + 4]
mov word [eax + ecx*2 - 2], 0x6d
mov edi, dword [esp + 8]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
or byte [esp + 0x10], 4
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 4], edx
cmp eax, edx
je 0x4f4d6f
nop word [eax + eax]
movzx eax, word [eax]
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x2b
push eax
call fcn.005588a0
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
add eax, 2
cmp eax, ecx
mov dword [esp + 8], eax
jne 0x4f4d00
mov edi, dword [esp + 4]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov eax, dword [esp + 4]
movzx eax, word [eax]
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x2f
push eax
call fcn.005588a0
mov edi, dword [esp + 4]
add edi, 2
nop dword [eax]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov edi, dword [esp + 4]
cmp dword [esp + 0xc], edi
jne 0x4f4870
jmp 0x4f4fa1
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
lea eax, [ecx - 6]
mov dword [esp + 4], edx
cmp eax, 0x37
ja case.default.0x4f4d96
jmp dword [eax*4 + 0x5b61b0]
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x15
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x16
push 0x77
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
cmp ecx, 0x16c
je 0x4f4f74
cmp ecx, 0x80d
jne case.0x4f4d96.8
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x29
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x2a
push 0x59
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1d
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1e
push 0x48
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x17
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x18
push 0x75
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x19
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1a
push 0x49
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1b
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1c
push 0x6d
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x21
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x22
push 0x4d
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x23
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x24
push 0x53
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x25
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x26
push 0x79
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x1f
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x20
push 0x64
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x27
push 0x25
call fcn.005588a0
mov ecx, dword [esp]
mov dword [esp + 0x1c], 0x28
push 0x6a
call fcn.005588a0
mov edi, dword [esp + 4]
jmp 0x4f4d60
lea eax, [esp + 0x18]
push eax
call fcn.00521ba0
add esp, 4
mov eax, dword [esp + 0x64]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov dword [esp + 0x1c], 0xffffffff
push str.locale_not_supported
call fcn.004e45d0
mov eax, dword [esp + 0x1c]
cmp eax, 0x2f
jb switch.0x004f4fdb
ud2
jmp dword [eax*4 + 0x5b6290]
jmp case.0x4f4fdb.18
jmp case.0x4f4fdb.18
jmp case.0x4f4fdb.18
jmp case.0x4f4fdb.18
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp]
test byte [eax], 1
je 0x4f5013
mov eax, dword [esp]
push dword [eax + 8]
call fcn.004fc300
add esp, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], 0xffffffff
push eax
call fcn.00521e40
nop word cs:[eax + eax]
nop
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
jmp 0x4f6388
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
test byte [eax + 0x20c], 1
je 0x4f63b1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x214]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x200], 1
je 0x4f63ce
mov eax, dword [ebp - 0x10]
push dword [eax + 0x208]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x1f4], 1
je 0x4f63eb
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1fc]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x1e8], 1
je 0x4f6408
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1f0]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x1dc], 1
je 0x4f6425
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1e4]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x1d0], 1
je 0x4f6442
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1d8]
call fcn.004fc300
add esp, 4
mov eax, 0x120
nop word [eax + eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
test byte [eax + ecx + 0xa4], 1
je 0x4f6478
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push dword [eax + ecx + 0xac]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff4
jne 0x4f6450
mov eax, dword [ebp - 0x10]
test byte [eax + 0xa4], 1
je 0x4f649d
mov eax, dword [ebp - 0x10]
push dword [eax + 0xac]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x98], 1
je 0x4f64ba
mov eax, dword [ebp - 0x10]
push dword [eax + 0xa0]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x8c], 1
je 0x4f64d7
mov eax, dword [ebp - 0x10]
push dword [eax + 0x94]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x80], 1
je 0x4f64f4
mov eax, dword [ebp - 0x10]
push dword [eax + 0x88]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x74], 1
je 0x4f650b
mov eax, dword [ebp - 0x10]
push dword [eax + 0x7c]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x68], 1
je 0x4f6522
mov eax, dword [ebp - 0x10]
push dword [eax + 0x70]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x5c], 1
je 0x4f6539
mov eax, dword [ebp - 0x10]
push dword [eax + 0x64]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x50], 1
je 0x4f6550
mov eax, dword [ebp - 0x10]
push dword [eax + 0x58]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x44], 1
je 0x4f6567
mov eax, dword [ebp - 0x10]
push dword [eax + 0x4c]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x38], 1
je 0x4f657e
mov eax, dword [ebp - 0x10]
push dword [eax + 0x40]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x2c], 1
je 0x4f6595
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x20], 1
je 0x4f65ac
mov eax, dword [ebp - 0x10]
push dword [eax + 0x28]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 0x14], 1
je 0x4f65c3
mov eax, dword [ebp - 0x10]
push dword [eax + 0x1c]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
test byte [eax + 8], 1
je 0x4f65da
mov eax, dword [ebp - 0x10]
push dword [eax + 0x10]
call fcn.004fc300
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x6c], 5
push eax
call sub.api_ms_win_crt_locale_l1_1_0.dll__free_locale
add esp, 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], 0xffffffff
push eax
call fcn.00521e40
ud2