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

Disassembly:
push 0xffffffffffffffff
push 0x512d29
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov esi, 1
mov dword [esp + 0x48], esi
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ba62
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, dword [esp + 0x54]
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x20], esi
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45ba92
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea esi, [esp + 0x38]
mov byte [esp + 0x48], 2
call fcn.004058c0
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45baca
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 3
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45baf9
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x48], 4
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45bb28
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x48], 5
mov ecx, dword [0x5737f4]
add ecx, 0x3c
push ecx
mov ecx, ebx
call fcn.00404e60
mov ebp, dword [esp + 0x50]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
add ebp, 0x14
test ecx, ecx
jg 0x45bb64
or ebx, 0xffffffff
jmp 0x45bb7d
push 0x5c
push eax
call fcn.004e22e6
add esp, 8
test eax, eax
jne 0x45bb78
or ebx, 0xffffffff
jmp 0x45bb7d
sub eax, dword [ebp]
mov ebx, eax
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
lea esi, [ebx + 1]
test esi, esi
mov dword [esp + 0x28], esi
jl 0x45bba8
cmp esi, ecx
jge 0x45bba8
add eax, esi
push 0x5c
push eax
call fcn.004e22e6
add esp, 8
test eax, eax
je 0x45bba8
sub eax, dword [ebp]
jmp 0x45bbab
or eax, 0xffffffff
sub eax, ebx
lea ebx, [eax - 1]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
mov dword [esp + 0x24], ebx
jge 0x45bbd3
push ebx
lea ecx, [esp + 0x18]
call fcn.00405200
mov edi, dword [esp + 0x14]
test ebx, ebx
jl 0x45bc7b
cmp ebx, dword [edi - 8]
jg 0x45bc7b
mov dword [edi - 0xc], ebx
mov byte [ebx + edi], 0
xor edi, edi
test ebx, ebx
jle 0x45bc57
mov ebx, esi
test ebx, ebx
jl 0x45bc7b
mov eax, dword [ebp]
cmp ebx, dword [eax - 0xc]
jg 0x45bc7b
test edi, edi
mov dl, byte [eax + ebx]
mov byte [esp + 0x50], dl
jl 0x45bc7b
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
cmp edi, esi
jge 0x45bc7b
cmp dword [eax - 4], 1
jle 0x45bc30
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov eax, dword [esp + 0x14]
test esi, esi
mov dl, byte [esp + 0x50]
mov byte [edi + eax], dl
jl 0x45bc7b
cmp esi, dword [eax - 8]
jg 0x45bc7b
add edi, 1
add ebx, 1
cmp edi, dword [esp + 0x24]
mov dword [eax - 0xc], esi
mov byte [esi + eax], 0
jl 0x45bbf3
mov esi, dword [esp + 0x28]
test esi, esi
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
jl 0x45bc85
cmp esi, ecx
jge 0x45bc85
add eax, esi
push 0x5c
push eax
call fcn.004e22e6
add esp, 8
test eax, eax
je 0x45bc85
sub eax, dword [ebp]
jmp 0x45bc88
push 0x80070057
call fcn.00404150
or eax, 0xffffffff
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.00404c00
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 6
call fcn.00404e60
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bcc9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp]
push 0x5c
push eax
call fcn.004e16f2
add esp, 8
test eax, eax
jne 0x45bce0
or ecx, 0xffffffff
jmp 0x45bce5
sub eax, dword [ebp]
mov ecx, eax
mov edx, dword [ebp]
mov eax, dword [edx - 0xc]
sub eax, ecx
add eax, 0xffffffff
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call fcn.0041c9e0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 7
call fcn.00404e60
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bd31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
mov esi, str._y__m__d
lea edi, [esp + 0x54]
call fcn.00405a40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 8
call fcn.00404e60
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45bd78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x50]
push 0x52aec4
push ecx
lea ecx, [esp + 0x1c]
call fcn.0041ad30
add esp, 8
mov byte [esp + 0x48], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0041b2d0
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45bdc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0041ac70
lea ecx, [esp + 0x5c]
mov bl, 0xa
push ecx
mov edi, eax
mov byte [esp + 0x58], bl
call fcn.0045c450
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0xb
call fcn.00404e60
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45be24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45be49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea ecx, [esp + 0x38]
push ecx
mov esi, str._y__m__d__H__M__S
lea edi, [esp + 0x34]
call fcn.00405a40
mov esi, eax
push str.remote_
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x54], 0xc
call fcn.00404c80
push esi
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x60], 0xd
call fcn.0041ac70
push 0x531640
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x6c], 0xe
call fcn.00404c80
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x7c]
mov bl, 0xf
push edx
mov byte [esp + 0x78], bl
call fcn.0041ac70
add esp, 0x30
mov byte [esp + 0x48], 0x10
mov esi, dword [esp + 0x54]
push eax
mov ecx, esi
call fcn.00404e60
mov byte [esp + 0x48], bl
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0xe
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0xd
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bf8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bfaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bfd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bff5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c01a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c03f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 0xc