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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6462b0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.005ac7a0
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [edx + 0x10]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x44]
xor edi, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edi
push 8
mov dword [esp + 0x9c], edi
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x4a06f8
mov dword [esp + 0x44], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x44]
mov dword [ecx], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x98], 1
movzx eax, word [esp + 0x80]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x2c]
fild dword [esp + 0x14]
push edx
lea ebx, [esp + 0x48]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esp + 0x40]
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x3c]
fld1
fstp dword [esp + 0x44]
fxch st(1)
fstp dword [esp + 0x34]
fstp dword [esp + 0x30]
fld dword [0x69c768]
fstp dword [esp + 0x38]
call fcn.004a0920
lea eax, [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], edi
push 8
mov byte [esp + 0x9c], 2
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x4a06cf
mov dword [esp + 0x64], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x64]
mov dword [edx], ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov byte [esp + 0x98], 3
fld dword [0x69c718]
fstp dword [esp + 0x5c]
push 0xe4
fldz
fstp dword [esp + 0x5c]
fld1
fstp dword [esp + 0x64]
call fcn.005f0fe0
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x98], 4
cmp ebx, edi
je 0x4a0525
push ebx
call fcn.004355a0
mov dword [ebx], vtable.CChartInStoreRate.0
mov ecx, ebx
jmp 0x4a0527
xor ecx, ecx
mov eax, 0x55555556
imul dword [ebp + 0x10]
mov ebx, edx
mov byte [esp + 0x98], 3
shr ebx, 0x1f
add ebx, edx
mov edx, dword [esi + 4]
push edx
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff8
push edx
lea edi, [ebx + ebx]
push edi
mov dword [esi + 0x10], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push 4
push 0
call eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0xf0]
lea eax, [esp + 0x38]
push eax
call edx
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
lea edx, [esp + 0x58]
push edx
call eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 1
call eax
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x128]
push 0x68c878
call eax
push 0x4cc
call fcn.005f0fe0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 5
test eax, eax
je 0x4a05c2
push eax
call fcn.00455b10
jmp 0x4a05c4
xor eax, eax
mov byte [esp + 0x98], 3
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
dec ebx
push ebx
mov dword [esi + 0x18], eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
push 0
inc edi
push edi
mov ecx, eax
call edx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
push 0
call edx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
push 0x66cf58
push 0x88
call edx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x64]
push 1
call edx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 1
call edx
push 0x3c
call fcn.005f0fe0
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 6
test eax, eax
je 0x4a0648
mov ecx, dword [esi + 0x18]
push ecx
mov ecx, eax
call fcn.00459180
jmp 0x4a064a
xor eax, eax
mov byte [esp + 0x98], 3
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 8
mov edi, eax
call fcn.0059bd90
push eax
push 0x40edc0
push 0x7d1
push edi
mov dword [eax], esi
mov dword [eax + 4], 0x4a0730
call fcn.00578050
mov esi, dword [esi + 4]
lea ecx, [esp + 0x58]
mov byte [esp + 0x98], 1
call fcn.004321c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x98], 0xffffffff
call fcn.004321c0
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edi
call fcn.005f41f0
push 0x6a361c
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.006009e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edi
call fcn.005f41f0
push 0x6a361c
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], vtable.std::bad_alloc.0
call fcn.006009e0
int3