Function at 0x4041e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44af7f
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x1a8], ebx
mov eax, dword [0x462410]
mov edx, dword [eax + 0xc]
mov ecx, 0x462410
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1a8], 2
mov eax, dword [esp + 0x1e0]
push eax
push 0x4526a8
lea edi, [esp + 0x20]
call fcn.00412b00
mov esi, dword [esp + 0x20]
add esp, 8
cmp dword [esi - 4], ebx
jle 0x404276
mov ecx, dword [esi - 0xc]
push ecx
mov ecx, edi
call fcn.00401610
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov ebp, 0xf
mov eax, esi
mov dword [esp + 0x198], ebp
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404297
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x188]
call fcn.004024f0
cmp esi, ebx
mov byte [esp + 0x1a8], 3
jne 0x4042c0
xor eax, eax
jmp 0x4042d6
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4042c5
sub eax, edx
js 0x4048f5
cmp eax, dword [esi - 8]
jg 0x4048f5
mov dword [esi - 0xc], eax
push ebx
mov byte [eax + esi], bl
call fcn.00433fb9
mov dword [esp + 0x30], edx
add esp, 4
lea edx, [esp + 0x28]
push edx
mov ecx, str._Y__m__d__H:_M:_S
lea edi, [esp + 0x20]
mov dword [esp + 0x2c], eax
call fcn.00402e40
mov byte [esp + 0x1a8], 4
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404330
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x16c]
call fcn.004024f0
mov byte [esp + 0x1a8], 6
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 0x404371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x2c
push str.____________________________________________
lea ecx, [esp + 0x118]
mov dword [esp + 0x130], ebp
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x11c], bl
call fcn.004024f0
lea ecx, [esp + 0x1b0]
push ecx
mov ecx, 0x452874
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 7
call fcn.00412b20
add esp, 4
push eax
mov edi, 0x452868
lea esi, [esp + 0xdc]
mov byte [esp + 0x1ac], 8
call fcn.00412bd0
add esp, 4
lea edx, [esp + 0x164]
push edx
push eax
lea edi, [esp + 0xa8]
mov byte [esp + 0x1b0], 9
call fcn.00412c80
push eax
mov edi, 0x45285c
lea esi, [esp + 0x100]
mov byte [esp + 0x1b4], 0xa
call fcn.00412bd0
add esp, 0xc
lea ecx, [esp + 0x1cc]
push ecx
push eax
lea edi, [esp + 0xc4]
mov byte [esp + 0x1b0], 0xb
call fcn.00412c80
push eax
mov edi, 0x452850
lea esi, [esp + 0x74]
mov byte [esp + 0x1b4], 0xc
call fcn.00412bd0
add esp, 0xc
lea edx, [esp + 0x180]
push edx
push eax
lea edi, [esp + 0x54]
mov byte [esp + 0x1b0], 0xd
call fcn.00412c80
push eax
mov edi, 0x45281c
lea esi, [esp + 0x90]
mov byte [esp + 0x1b4], 0xe
call fcn.00412bd0
add esp, 0xc
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x118]
mov byte [esp + 0x1b0], 0xf
call fcn.004117a0
mov ebp, 0x10
cmp dword [esp + 0x9c], ebp
jb 0x4044b6
mov eax, dword [esp + 0x88]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x64], ebp
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
jb 0x4044e3
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x80], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x404505
mov edx, dword [esp + 0x6c]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0xd4], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
jb 0x40452d
mov eax, dword [esp + 0xc0]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x10c], ebp
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
jb 0x40455b
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0xb8], ebp
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
jb 0x404589
mov edx, dword [esp + 0xa4]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0xf0], ebp
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
jb 0x4045b7
mov eax, dword [esp + 0xdc]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x1a8], 7
cmp dword [esp + 0x48], ebp
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
jb 0x4045e7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00416c01
add esp, 4
mov edx, dword [esp + 0x124]
lea eax, [esp + 0x28]
push eax
mov ecx, str._Y_m_d_H.txt
lea edi, [esp + 0x20]
mov dword [esp + 0x28], edx
call fcn.00402e40
mov byte [esp + 0x1a8], 0x10
mov esi, dword [eax]
mov eax, esi
mov dword [esp + 0x144], 0xf
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404630
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x134]
call fcn.004024f0
mov byte [esp + 0x1a8], 0x12
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 0x404671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x12c]
push ecx
mov ecx, str.UpdateFile_Log_
lea edi, [esp + 0x34]
call fcn.00412b20
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x1b4], 0x13
call fcn.00402280
cmp dword [esp + 0x48], ebp
jb 0x4046b5
mov edx, dword [esp + 0x34]
push edx
call fcn.00416c01
add esp, 4
mov edi, 0xf
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0x1c4], 0x14
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x150]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
lea esi, [esp + 0x170]
mov byte [ecx + 4], bl
call fcn.00402280
mov ecx, esi
call fcn.00404900
cmp dword [esp + 0x160], ebp
mov eax, dword [esp + 0x14c]
jae 0x40471e
lea eax, [esp + 0x14c]
push 0x4528a0
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00433b40
add esp, 0xc
test eax, eax
jne 0x404761
cmp dword [esp + 0x128], ebp
mov eax, dword [esp + 0x114]
jae 0x40474c
lea eax, [esp + 0x114]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push ecx
push 1
push eax
call fcn.00433cef
add esp, 0x10
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x404776
push eax
call fcn.00432ebb
add esp, 4
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x160], ebp
jb 0x40478f
mov edx, dword [esp + 0x14c]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x144], ebp
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
jb 0x4047bd
mov eax, dword [esp + 0x130]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x128], ebp
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
jb 0x4047eb
mov ecx, dword [esp + 0x114]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x17c], ebp
mov dword [esp + 0x128], edi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
jb 0x404819
mov edx, dword [esp + 0x168]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x198], ebp
mov dword [esp + 0x17c], edi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
jb 0x404847
mov eax, dword [esp + 0x184]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x1a8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x198], edi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404884
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c8], ebp
jb 0x40489d
mov ecx, dword [esp + 0x1b4]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1e4], ebp
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
jb 0x4048cb
mov edx, dword [esp + 0x1d0]
push edx
call fcn.00416c01
add esp, 4
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.004322f2
add esp, 0x198
ret 0x38
push 0x80070057
call fcn.00401170
int3