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

Disassembly:
mov eax, 0x62e0
call fcn.005322e0
push ebp
mov ebp, ecx
push esi
xor esi, esi
mov ecx, dword [ebp + 0x2d0]
mov dword [esp + 0xc], esi
test ecx, ecx
je 0x468672
call fcn.00415c80
test eax, eax
je 0x468672
mov ecx, dword [ebp + 0x2d0]
mov eax, dword [str.export_]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [ecx]
push edi
and edx, 7
push eax
shl edx, 8
lea ecx, [esp + 0x1f4]
lea eax, [edx + 0x6189f8]
push eax
push str._s_s
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x1f0]
lea ecx, [esp + 0xf0]
push edx
call fcn.004d3b60
mov ecx, dword [ebp + 0x2d0]
mov eax, dword [0x54c894]
add ecx, 8
push eax
push ecx
lea edx, [esp + 0x78]
push str._s_s
push edx
call ebx
mov ecx, dword [ebp + 0x2d0]
mov eax, dword [0x67a8e8]
add esp, 0x10
mov edx, dword [ecx]
and edx, 7
push eax
dec edx
push edx
call fcn.00493e00
mov ecx, eax
call fcn.00491de0
test eax, eax
je 0x46862d
lea eax, [esp + 0x70]
lea ecx, [esp + 0xf0]
push eax
call fcn.004d4560
test eax, eax
je 0x46862d
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.004d9150
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCRT.dll_localtime]
mov esi, eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
add esp, 0xc
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x2d0]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
push eax
call fcn.00415f10
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
inc edx
push ecx
add eax, 0x76c
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0xcc]
push str._s_04d_02d_02d__02d_02d_02d.csv
push edx
call ebx
add esp, 0x24
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xf0]
push 0
push eax
call fcn.004d45b0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
jle 0x468629
mov eax, dword [ebp + 0x2d0]
mov dword [esp + 0x14], 1
mov ecx, dword [eax]
test ch, 1
je 0x46850a
lea esi, [eax + 0x28]
mov eax, dword [eax + 0x440]
test eax, eax
je 0x468497
mov esi, eax
test esi, esi
je 0x46850a
mov ecx, 0x13ff
xor eax, eax
lea edi, [esp + 0x12f2]
mov word [esp + 0x12f0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x12f0]
push edi
push ecx
push esi
call fcn.0047a370
add esp, 0xc
test eax, eax
jle 0x4684f3
lea ecx, [esp + 0x12f0]
cmp word [ecx], 0x2c
jne 0x4684ed
mov word [ecx], 9
add ecx, 2
dec eax
jne 0x4684e2
push 2
push 0
push ebx
call dword [sym.imp.MSVCRT.dll__lseek]
push edi
push esi
push ebx
call dword [sym.imp.MSVCRT.dll__write]
add esp, 0x18
mov ecx, ebp
call fcn.004682e0
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
jle 0x468620
xor ebx, ebx
test esi, esi
mov dword [esp + 0x18], ebx
jle 0x46861c
lea edx, [esi - 1]
mov dword [esp + 0x10], edx
mov cl, byte [ebp + 0x1e0]
mov eax, ebx
test cl, 0x10
je 0x468545
mov eax, dword [esp + 0x10]
cmp eax, esi
jge 0x468606
push eax
xor eax, eax
mov ax, word [ebp + 0x1d4]
push eax
call fcn.004851f0
mov ecx, eax
call fcn.00485090
test eax, eax
mov dword [esp + 0x20], eax
je 0x468606
xor edi, edi
xor esi, esi
cmp word [ebp + 0x1d6], di
jbe 0x4685c4
xor ebx, ebx
jmp 0x468585
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x1dc]
xor edx, edx
mov dx, word [ebx + ecx + 4]
lea ecx, [esp + esi + 0x2f0]
mov eax, dword [eax + edx*4 + 4]
push eax
push 0x585da4
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
xor edx, edx
add esp, 0xc
mov dx, word [ebp + 0x1d6]
add esi, eax
inc edi
add ebx, 0xc
cmp edi, edx
jl 0x468581
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebp + 0x2d0]
mov byte [esp + esi + 0x2f0], 0xa
inc esi
lea eax, [esp + 0x2f0]
push 0
push eax
mov byte [esp + esi + 0x2f8], 0
call fcn.004160a0
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [esp + 0x2f0]
push esi
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__write]
mov esi, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc ebx
dec ecx
cmp ebx, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
jl 0x468534
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.0047ae00
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x2d0]
push 1
mov ecx, dword [eax]
and ecx, 7
add ecx, 0x240d
push ecx
call fcn.00493e00
mov ecx, eax
call fcn.004903e0
pop edi
pop ebx
test esi, esi
je 0x468668
push 0x23
call fcn.004ab020
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x62e0
ret
push 0x16
call fcn.004ab020
add esp, 4
mov eax, esi
pop esi
pop ebp
add esp, 0x62e0
ret