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

Disassembly:
push ebp
mov ecx, 0x51e110
push edi
push esi
push ebx
sub esp, 0xac
mov edi, dword [esp + 0xcc]
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
call dbg.std::locale::id::_M_id() const
mov edx, dword [edi + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x47b7d9
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x47b7d9
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x44], ebp
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x34], ebp
mov ebp, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x8c], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x94], edx
mov edx, ebx
xor bx, bx
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x64], 0
call sym.__ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE24_M_extract_wday_or_monthES3_S3_RiPPKwjRSt8ios_baseRSt12_Ios_I
mov ebp, eax
movzx ecx, dx
mov dword [esp + 0x5c], edx
mov eax, edx
mov edx, ebx
mov dword [esp + 0x58], ebp
mov edi, ebp
or edx, ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x47b760
mov ebx, dword [esp + 0xd4]
or dword [ebx], 4
cmp ax, 0xffff
sete bl
test ebp, ebp
setne al
and al, bl
mov byte [esp + 0x2c], al
jne 0x47b770
cmp word [esp + 0x28], 0xffff
sete al
mov ecx, eax
test esi, esi
je 0x47b741
test al, al
jne 0x47b798
cmp bl, cl
jne 0x47b74f
mov eax, dword [esp + 0xd4]
or dword [eax], 2
add esp, 0xac
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x60]
mov dword [ecx + 0x18], ebx
jmp 0x47b71a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x47b7b0
movzx eax, word [eax]
xor ebx, ebx
cmp ax, 0xffff
movzx eax, byte [esp + 0x2c]
mov edi, 0
cmovne edi, ebp
cmove ebx, eax
jmp 0x47b72e
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x47b7c8
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x47b741
mov eax, dword [ebp]
mov dword [esp + 0x30], edx
mov ecx, ebp
call dword [eax + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x47b77b
mov eax, dword [esi]
mov dword [esp + 0x28], edx
mov ecx, esi
call dword [eax + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x47b7a3
call dbg.std::__throw_bad_cast()
nop
nop