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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x5c
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x78]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x62d3cc78
mov eax, dword [ecx]
call dword [eax + 0x14]
xor edx, edx
test eax, eax
cmovns edx, eax
setle cl
mov dword [esp + 0x2c], edx
mov eax, ebp
mov dword [ebx], 0xffffffff
or eax, edi
mov dword [ebx + 4], 0xffffffff
setne al
mov dword [ebx + 8], 0
and eax, ecx
lea ecx, [esi + 0x28]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ecx
call dbg.std::__basic_file<char>::is_open() const
xor eax, 1
or al, byte [esp + 0x24]
je 0x62d3cc90
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0x2c], 0
mov ecx, 1
jmp 0x62d3cc2f
cmp dword [esp + 0x7c], 1
mov eax, ebp
sete cl
or eax, edi
sete al
and cl, al
mov byte [esp + 0x24], cl
je 0x62d3cd70
cmp byte [esi + 0x4a], 0
jne 0x62d3cd60
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x49], 0
mov dword [esp + 0x3c], eax
je 0x62d3ce60
xor edi, edi
xor ebp, ebp
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
je 0x62d3ce73
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
sar eax, 1
cdq
add edi, eax
adc ebp, edx
cmp byte [esp + 0x24], 0
je 0x62d3ceaa
cmp byte [esi + 0x4a], 0
je 0x62d3cd0e
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x10]
sar eax, 1
mov ebp, eax
mov edi, eax
sar ebp, 0x1f
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x28]
mov dword [esp], 0
mov dword [esp + 4], 0
call dbg.std::__basic_file<char>::seekoff(long long, std::_Ios_Seekdir)
mov ecx, eax
sub esp, 0xc
and ecx, edx
cmp ecx, 0xffffffff
je 0x62d3cc65
add eax, edi
mov dword [ebx], eax
mov eax, dword [esp + 0x3c]
adc edx, ebp
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x18]
test al, al
jne 0x62d3ce40
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x34]
mov eax, ecx
mov dword [esp + 0x24], edx
imul edi, ecx
cdq
mov eax, edx
imul eax, ebp
add eax, edi
mov dword [esp + 0x2c], eax
mov eax, ecx
mul ebp
mov edi, eax
mov eax, dword [esp + 0x2c]
mov ebp, edx
add ebp, eax
cmp byte [esi + 0x58], 0
movzx eax, byte [esi + 0x49]
je 0x62d3ce30
mov edx, dword [esi + 4]
cmp dword [esi + 8], edx
mov byte [esi + 0x58], 0
mov ecx, dword [esi + 0x50]
setne dl
movd xmm0, dword [esi + 0x40]
movzx edx, dl
lea edx, [ecx + edx*2]
movd xmm1, edx
mov dword [esi + 0x50], edx
mov edx, dword [esi + 0x54]
punpckldq xmm0, xmm1
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
movq qword [esi + 4], xmm0
mov dword [esp + 0x3c], edx
test al, al
je 0x62d3cdec
cmp dword [esp + 0x7c], 1
je 0x62d3ce69
mov eax, dword [esp + 0x24]
mov dword [esp + 4], edi
lea ecx, [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], esi
mov dword [esp + 0xc], eax
call dbg.std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::_M_seek(long long, std::_Ios_Seekdir, int)
sub esp, 0x14
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [ebx], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
jmp 0x62d3cc65
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
test al, al
je 0x62d3cdec
jmp 0x62d3cde5
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x49], 0
mov dword [esp + 0x3c], eax
jne 0x62d3ccc6
xor edi, edi
xor ebp, ebp
jmp 0x62d3ccf9
xor edi, edi
xor ebp, ebp
jmp 0x62d3cd0e
mov byte [esp + 0x24], 0
jmp 0x62d3ccca
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 8]
sub edx, dword [esi + 4]
sar edx, 1
mov eax, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [esi + 0x68]
mov dword [esp + 8], edx
mov edx, dword [esi + 0x60]
mov dword [esp + 4], edx
lea edx, [esp + 0x3c]
mov dword [esp], edx
call dword [eax + 0x1c]
add eax, dword [esi + 0x60]
sub eax, dword [esi + 0x6c]
sub esp, 0x10
jmp 0x62d3cce9
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
jmp 0x62d3cdec