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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [0x705200]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x24], eax
push edi
mov edi, dword [ebp + 0xc]
push 0
lea ecx, [ebx + 0x78]
call fcn.00522c70
push eax
call dword [0x5fd6dc]
test eax, eax
je 0x514047
cmp dword [ebx + 0x18], 1
mov ecx, ebx
jge 0x51406e
push 2
call fcn.005139e0
mov dword [ebx + 0x2e0], edi
test edi, edi
je 0x51408d
push 0
mov ecx, edi
call fcn.00522c70
mov ecx, edi
mov edx, eax
call fcn.00521850
push eax
lea ecx, [ebx + 0x78]
call fcn.00521860
jmp 0x51408f
push dword [esp + 0x28]
push 0xffffffffffffffff
call fcn.00513e70
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041e475
mov esp, ebp
pop ebp
ret 0x18
xor edx, edx
push ecx
push edx
push 0xffffffffffffffff
push 0x80000000
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x15e
push dword [ebp + 0x10]
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x14], 0x46
push 0x61d074
push 0x621d18
call fcn.00523240
movsd xmm1, qword [0x6e4338]
lea ecx, [ebx + 0x78]
push 0
push str.Arial
push 1
push 0x190
call fcn.005217f0
push dword [ebx + 0x28]
lea ecx, [ebx + 0x78]
call fcn.005219e0
push 0
lea ecx, [ebx + 0x78]
call fcn.00522c70
mov ecx, dword [ebx + 0x20]
push 4
push dword [ebx + 0x30]
mov dword [esp + 0x2c], eax
push ecx
push ecx
push dword [ebx + 0x1c]
lea ecx, [ebx + 0x78]
push 0x15e
push dword [ebp + 0x10]
call fcn.00516c80
test edi, edi
je 0x514120
push dword [esp + 0x24]
mov ecx, edi
call fcn.00523680
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
call dword [0x5fd734]
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0x78]
push 0xffffffffffffffff
push 0x1080000d
push 0xfa
add eax, 0xffffffec
push eax
push 0xa
push 0xa
push 0x621b08
push str._Date__time_n_Operation_result
call fcn.0051dcb0
push eax
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x18], eax
call fcn.00522c70
mov esi, dword [0x5fd6cc]
mov edi, eax
push 0xa0
push 0
push 0x101e
push edi
call esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xffffff38
movzx ecx, cx
push ecx
push 1
push 0x101e
push edi
call esi
movsd xmm0, qword [0x6e4328]
lea edi, [ebx + 0x78]
sub esp, 0xc
movsd qword [esp + 4], xmm0
push 0
push ecx
push 0x190
push 0xffffffffffffffff
mov ecx, edi
call fcn.0051c1a0
push 0x1800
mov ecx, edi
call fcn.00521880
mov eax, dword [ebx + 0x14]
push ecx
push 0xffffffffffffffff
push eax
push eax
push 0x10e
push 0xa
push 0
call fcn.0051d740
mov esi, dword [ebx + 0x28]
mov edx, esi
movzx ecx, byte [ebx + 0x2a]
or edx, 0xffffff00
push dword [ebx + 0x20]
shl edx, 0x10
and esi, 0xff00
or edx, ecx
mov dword [ebx], eax
or edx, esi
push edx
push dword [ebx + 0x1c]
push ecx
push eax
push edi
lea ecx, [ebx + 0x34]
call fcn.00514b90
mov esi, dword [ebp + 0x10]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xa
push esi
push 0
push 0
push 0
mov ecx, edi
call fcn.0051df20
push 0xfffffffffffffffe
push 0xffffffffffffffff
mov ecx, edi
mov dword [ebx + 0x10], eax
call fcn.0051c450
push 0x800
mov ecx, edi
call fcn.00521880
mov eax, dword [ebx + 0x14]
sub esi, eax
push 0xffffffffffffffff
push 0x10001800
push eax
sub esi, 0x1e
add eax, 0x14
push esi
push 0x10e
push eax
push 0
call fcn.0051e320
mov ecx, dword [ebx + 0x20]
movzx edx, cl
and ecx, 0xff00
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 0x22]
shl edx, 0x10
or edx, eax
or edx, ecx
mov ecx, edi
push edx
push 0xffffffffffffffff
call fcn.0051c450
push dword [ebx + 0x28]
mov ecx, edi
push 0xffffffffffffffff
call fcn.0051c300
sub esp, 8
mov ecx, ebx
call fcn.005139b0
mov ecx, dword [esp + 0x30]
mov edx, eax
call fcn.00539a80
mov ecx, dword [esp + 0x3c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e475
mov esp, ebp
pop ebp
ret 0x18