Function at 0x4046b0
Capabilities:
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x419a9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a8
mov eax, dword [0x42119c]
push ebx
push esi
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x4ac], eax
call fcn.00409a00
xor esi, esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x4bc], esi
call fcn.00409a00
mov ebx, dword [ebp + 0x14]
lea eax, [ebx + 4]
push eax
mov byte [esp + 0x4c0], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebx + 0x210]
lea edx, [esp + 0x298]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404727
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebx + 0x418]
push ecx
push edi
lea edx, [esp + 0x198]
push 0x41a368
push edx
call esi
lea eax, [esp + 0x1a0]
push 0x5f
push eax
call fcn.0040a250
lea ecx, [esp + 0x1a8]
push ecx
lea edx, [esp + 0x2b4]
push edx
lea eax, [esp + 0x3c0]
push str._s_s
push eax
call esi
push edi
lea ecx, [esp + 0x2c4]
push ecx
lea edx, [esp + 0xb8]
push str._s_s
push edx
call esi
lea eax, [esp + 0xc0]
push eax
call fcn.00409f50
add esp, 0x3c
test eax, eax
jne 0x4047dd
cmp byte [ebx + 0xa71], 1
jne 0x4047d2
mov edx, dword [ebx + 0xa90]
lea ecx, [esp + 0x88]
push ecx
push 0x15
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40481d
mov esi, 0x10005
mov dword [esp + 0xc], esi
jmp 0x4047e1
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x140], 1
jne 0x404849
mov eax, dword [ebx + 0xa90]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x3e8
push 0xc
push 0x7e8
push eax
call esi
mov edx, dword [ebx + 0xa90]
lea ecx, [esp + 0x88]
push ecx
push 0x1f
push 0x7e8
push edx
call esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x4bc], 0
call fcn.00409b90
lea ecx, [esp + 0x58]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00409b90
xor eax, eax
jmp 0x4054e6
mov ecx, dword [ebx + 0xa90]
lea eax, [esp + 0x88]
push eax
push 0xb
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x3a0]
push edx
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x404889
mov esi, 0x1000b
jmp 0x4054bf
test esi, esi
jne 0x4054bf
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x70]
call fcn.004015c0
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x6c]
push edx
lea ecx, [esi + 0x218]
mov byte [esp + 0x4c0], 2
call fcn.00404550
cmp dword [esp + 0x84], 0x10
mov byte [esp + 0x4bc], 1
jb 0x4048dc
mov eax, dword [esp + 0x70]
push eax
call fcn.0041166d
add esp, 4
xor edi, edi
push 0x80
push edi
lea ecx, [esp + 0x3a8]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00409bc0
test eax, eax
je 0x404922
mov esi, 0x10006
jmp 0x4054ad
push 0x20
push edi
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x5c]
call fcn.00409c10
test eax, eax
je 0x404944
mov esi, 0x1000c
jmp 0x4054ad
cmp byte [ebx + 0xa74], 1
jne 0x4049fe
push 0x48
call fcn.004111e0
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x4bc], 3
je 0x40497b
push 0x2000
mov ecx, eax
call fcn.0040a640
mov edi, eax
jmp 0x40497d
xor edi, edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x13c]
mov edx, dword [eax + 0x138]
mov ebx, dword [eax + 0x130]
push 5
push ecx
mov ecx, dword [esi + 0x208]
push edx
mov edx, dword [esi + 0x20c]
mov esi, dword [eax + 0x134]
add ecx, ebx
mov ebx, dword [ebp + 8]
adc edx, esi
push edx
push ecx
mov ecx, ebx
mov byte [esp + 0x4d0], 1
mov dword [esp + 0x44], edi
call fcn.00409a10
push eax
mov ecx, edi
call fcn.0040a980
cmp eax, 0x10000
jne 0x4049dd
mov esi, 0x10002
jmp 0x405475
push 0
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.0040a780
cmp eax, 0x10000
jne 0x404a52
mov esi, 0x10002
jmp 0x405475
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x208]
mov edi, dword [eax + 0x130]
mov esi, dword [esi + 0x20c]
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
add ecx, edi
mov edi, dword [eax + 0x134]
push 0
adc esi, edi
push esi
push ecx
mov ecx, ebx
call dword [edx + 8]
cmp eax, 0xffffffff
jne 0x404a34
test edx, edx
je 0x404a48
mov edx, dword [ebx]
push 0
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
je 0x404a52
mov esi, 0x10002
jmp 0x4054ad
cmp dword [esp + 0x3c], 0x20464455
je 0x404a66
mov esi, 0x1000e
jmp 0x405475
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0xa74], 1
push 0
push 2
jne 0x404a97
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
jne 0x404ab5
mov esi, 0x10002
jmp 0x405475
mov edx, dword [ebx]
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
je 0x404ab1
mov esi, 0x10002
jmp 0x405475
mov esi, dword [esp + 0x30]
cmp word [esp + 0x18], 0x6e
jbe 0x404ac7
mov esi, 0x1000f
jmp 0x405475
cmp byte [edi + 0xa74], 1
push 0
push 4
jne 0x404af1
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
jne 0x404b0b
mov esi, 0x10002
jmp 0x405475
mov edx, dword [ebx]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
je 0x404b0b
mov esi, 0x10002
jmp 0x405475
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], 0
call fcn.00411284
add esp, 4
cmp word [esp + 0x18], 0x6e
mov dword [esp + 0x28], eax
jb 0x404b78
cmp byte [edi + 0xa74], 1
push 0
push 8
jne 0x404b5e
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
jne 0x404b78
mov esi, 0x10002
jmp 0x405475
mov eax, dword [ebx]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x404b78
mov esi, 0x10002
jmp 0x405475
mov edx, dword [edi + 0xa90]
push 0
push 0xc
push 0x7e8
push edx
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0xa9c], 1
je 0x405400
jmp 0x404ba8
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0xa74], 1
mov esi, dword [esp + 0x30]
push 0
mov edi, 0x6e
push 1
jne 0x404be1
lea ecx, [esp + 0x37]
push ecx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
jne 0x404bf1
mov dword [esp + 0xc], 0x10002
jmp 0x40541c
mov edx, dword [ebx]
lea eax, [esp + 0x37]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, 1
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x2f]
adc edx, 0
test al, al
mov dword [esp + 0x14], edx
je 0x40541c
cmp al, 1
jne 0x404d20
cmp word [esp + 0x18], di
jb 0x404c79
mov ecx, dword [ebp + 0x14]
cmp byte [ecx + 0xa74], 1
push 0
push 8
jne 0x404c55
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
adc eax, 0
jmp 0x404cab
mov eax, dword [ebx]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
adc eax, 0
jmp 0x404cab
mov edx, dword [ebx]
xor esi, esi
push esi
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x44], esi
adc eax, esi
mov edx, dword [esp + 0x44]
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
push edx
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x64]
call fcn.00409a70
cmp eax, 0xffffffff
jne 0x404cd5
test edx, edx
je 0x40540a
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
push 0
push ecx
push esi
lea ecx, [esp + 0x64]
call fcn.00409ad0
test eax, eax
jne 0x40540a
mov edx, dword [esp + 0x1c]
push eax
push edx
push esi
lea ecx, [esp + 0x5c]
call fcn.00409b30
test eax, eax
jne 0x405414
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x24]
adc eax, 0
jmp 0x405390
cmp al, 2
jne 0x404f3b
cmp word [esp + 0x18], di
jb 0x404d8a
mov ecx, dword [ebp + 0x14]
cmp byte [ecx + 0xa74], 1
push 0
push 8
jne 0x404d66
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
adc eax, 0
jmp 0x404dbc
mov eax, dword [ebx]
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
adc eax, 0
jmp 0x404dbc
mov edx, dword [ebx]
xor edi, edi
push edi
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x44], edi
adc eax, edi
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov al, byte [edx + 0xa74]
push 0
cmp al, 1
push 4
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ecx
push eax
jne 0x404dee
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x404dfd
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
push 0
push ecx
adc eax, 0
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
call fcn.00409a70
cmp eax, 0xffffffff
jne 0x404e35
test edx, edx
je 0x40540a
mov eax, dword [esp + 0x4c]
xor edi, edi
test eax, eax
jbe 0x405398
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xa9c]
mov esi, dword [esp + 0x28]
mov eax, 1
cmp edx, eax
je 0x404f0c
mov edx, dword [esp + 0x1c]
push 0
push edx
push esi
lea ecx, [esp + 0x64]
call fcn.00409ad0
test eax, eax
jne 0x404f19
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.00409b30
test eax, eax
jne 0x404f2a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x24]
adc ecx, eax
cmp word [esp + 0x18], 0x6e
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jb 0x404ebc
fild qword [esp + 0x20]
fild qword [esp + 0x60]
jmp 0x404ec9
mov edx, dword [ebp + 0xc]
fild qword [esp + 0x10]
fild qword [edx + 0x138]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov esi, eax
cmp esi, ebx
jbe 0x404ef6
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xa90]
push esi
push 0xc
push 0x7e8
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, esi
mov eax, dword [esp + 0x4c]
inc edi
cmp edi, eax
jb 0x404e47
mov dword [esp + 0x38], ebx
jmp 0x405398
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], eax
jmp 0x405398
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], 0x10007
jmp 0x405398
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], 0x1000d
jmp 0x405398
cmp al, 3
jne 0x405088
cmp word [esp + 0x18], di
jb 0x404f97
mov edx, dword [ebp + 0x14]
mov al, byte [edx + 0xa74]
push 0
cmp al, 1
push 8
lea eax, [esp + 0x48]
push eax
jne 0x404f74
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x404f83
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
mov edi, 0
adc eax, edi
jmp 0x404fc9
mov edx, dword [ebx]
xor edi, edi
push edi
push 4
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x44], edi
adc eax, edi
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov al, byte [edx + 0xa74]
push edi
cmp al, 1
push 4
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], ecx
push eax
jne 0x404ffa
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x405009
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, 4
adc ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
push edi
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.00409a70
cmp eax, 0xffffffff
jne 0x40503f
cmp edx, edi
je 0x40540a
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
push edi
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.00409ad0
test eax, eax
jne 0x40540a
mov ecx, dword [esp + 0x34]
push edi
push ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.00409b30
test eax, eax
jne 0x405414
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, edx
adc eax, edi
jmp 0x405390
cmp al, 4
jne 0x40512f
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0xa74], 1
jne 0x4050bf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x4050dd
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edx, ecx
mov esi, 0
adc eax, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00409b30
test eax, eax
jne 0x405414
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add edx, ecx
mov dword [esp + 0x20], edx
adc eax, esi
jmp 0x405394
cmp al, 5
jne 0x4052b3
mov edx, dword [ebp + 0x14]
mov al, byte [edx + 0xa74]
push 0
cmp al, 1
push 4
lea eax, [esp + 0x54]
push eax
jne 0x405161
mov ecx, esi
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x405170
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add edx, 4
mov ebx, 0
adc ecx, ebx
cmp eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jbe 0x405398
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xa9c]
mov ecx, 1
cmp edx, ecx
je 0x4052aa
cmp byte [eax + 0xa74], 1
mov esi, dword [esp + 0x28]
jne 0x4051e7
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edi
push esi
call fcn.0040a780
cmp eax, 0x10000
jne 0x4051fa
mov dword [esp + 0xc], 0x10002
jmp 0x405398
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x48]
push eax
push edi
push esi
call dword [edx + 0xc]
test eax, eax
jne 0x4051da
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
add edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
push 0
adc ecx, 0
push edx
mov dword [esp + 0x1c], ecx
push esi
lea ecx, [esp + 0x5c]
call fcn.00409b30
test eax, eax
jne 0x404f2e
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
add edx, edi
adc ecx, eax
cmp word [esp + 0x18], 0x6e
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jb 0x405256
fild qword [esp + 0x20]
fild qword [esp + 0x60]
jmp 0x405263
mov eax, dword [ebp + 0xc]
fild qword [esp + 0x10]
fild qword [eax + 0x138]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov esi, eax
cmp esi, dword [esp + 0x38]
jbe 0x405298
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xa90]
push esi
push 0xc
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
jb 0x4051a0
jmp 0x405398
mov dword [esp + 0xc], ecx
jmp 0x405398
cmp al, 6
jne 0x405398
mov esi, dword [ebp + 0x14]
mov al, byte [esi + 0xa74]
xor ebx, ebx
push ebx
cmp al, 1
push 4
lea eax, [esp + 0x3c]
push eax
jne 0x4052eb
mov ecx, dword [esp + 0x3c]
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
mov edi, dword [ebp + 8]
jmp 0x4052fd
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
test eax, eax
jne 0x404bd4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov al, byte [esi + 0xa74]
mov esi, dword [esp + 0x28]
add edx, 4
adc ecx, ebx
cmp al, 1
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
push ecx
push edx
push esi
jne 0x405341
mov ecx, dword [esp + 0x3c]
call fcn.0040a780
cmp eax, 0x10000
je 0x404bd4
jmp 0x405350
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jne 0x404bd4
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, eax
adc ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
push ebx
push ecx
push esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edx
call fcn.00409b30
test eax, eax
jne 0x405414
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, edx
adc eax, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp word [esp + 0x18], 0x6e
jb 0x4053aa
fild qword [esp + 0x20]
fild qword [esp + 0x60]
jmp 0x4053b7
mov eax, dword [ebp + 0xc]
fild qword [esp + 0x10]
fild qword [eax + 0x138]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov esi, eax
cmp esi, dword [esp + 0x38]
jbe 0x4053e8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xa90]
push esi
push 0xc
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40541c
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xa9c], 1
jne 0x404ba5
mov dword [esp + 0xc], 1
jmp 0x40541c
mov dword [esp + 0xc], 0x10007
jmp 0x40541c
mov dword [esp + 0xc], 0x1000d
cmp word [esp + 0x18], 0x6e
jb 0x40542e
fild qword [esp + 0x20]
fild qword [esp + 0x60]
jmp 0x40543b
mov ecx, dword [ebp + 0xc]
fild qword [esp + 0x10]
fild qword [ecx + 0x138]
fdivp st(1)
fmul qword [0x41a360]
call fcn.00412194
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [edx + 0xa90]
push 0xc
push 0x7e8
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x405471
push eax
call fcn.00411da3
add esp, 4
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x40548d
mov ecx, edi
call fcn.0040a940
push edi
call fcn.0041166d
add esp, 4
test esi, esi
jne 0x4054ad
mov ecx, dword [ebp + 0xc]
add ecx, 0x128
push ecx
push esi
push esi
lea ecx, [esp + 0x5c]
call fcn.00409a10
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [esp + 0x58]
call fcn.00409a20
lea ecx, [esp + 0x50]
call fcn.00409a20
lea ecx, [esp + 0x50]
mov byte [esp + 0x4bc], 0
call fcn.00409b90
lea ecx, [esp + 0x58]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00409b90
mov eax, esi
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4ac]
call fcn.004120e8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret