Function at 0x44f244
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 8], ecx
mov byte [ebp - 3], dl
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x450dc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48d5a8]
cmp byte [eax], 0
je 0x44f283
mov byte [ebp - 9], 1
jmp 0x450da8
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x64], eax
mov eax, dword [0x48d6b4]
mov word [eax], 0xffff
movsx eax, word [ebp - 2]
mov edx, dword [0x48d524]
mov eax, dword [edx + eax*4 - 4]
mov dl, byte [eax + 0x551]
mov ecx, dword [0x48db68]
mov byte [ecx], dl
movsx edx, word [ebp - 2]
mov ecx, dword [0x48d524]
mov ebx, eax
cmp dword [ebx + 0x4c], 0
je 0x44f2cd
mov byte [ebp - 9], 1
jmp 0x450da8
cmp byte [ebp - 3], 1
je 0x44f2f1
xor eax, eax
mov al, byte [ebp - 3]
mov edx, dword [0x48d550]
cmp byte [edx + eax + 0x18f6], 0
jne 0x44f2f1
mov byte [ebp - 9], 1
jmp 0x450da8
cmp byte [ebp - 3], 1
je 0x44f473
cmp byte [ebx + 0x55d], 0
jne 0x44f32b
mov eax, dword [0x48d550]
movzx eax, word [eax + 0x1872]
call fcn.0040fd30
fmul dword [0x450dd4]
fmul dword [0x450dd4]
fild qword [ebx + 0x18]
fcompp
fnstsw ax
sahf
ja 0x44f395
cmp byte [ebx + 0x55d], 0
je 0x44f473
mov eax, dword [ebp + 0xc]
call fcn.0040fd30
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fmulp st(1)
fstp xword [ebp - 0x360]
wait
mov eax, dword [0x48d550]
movzx eax, word [eax + 0x1876]
call fcn.0040fd30
fmul dword [0x450dd4]
fmul dword [0x450dd4]
fld xword [ebp - 0x360]
fcompp
fnstsw ax
sahf
jbe 0x44f473
mov eax, dword [0x48d550]
cmp byte [eax + 0x18e1], 0
je 0x44f46a
cmp byte [ebx + 0x560], 0
jne 0x44f46a
cmp byte [ebx + 0x55d], 0
je 0x44f3d9
cmp dword [ebp + 0xc], 0
jbe 0x44f3d9
mov eax, dword [0x48d550]
movzx eax, word [eax + 0x1876]
mov edx, dword [0x48d498]
mov dword [edx], eax
jmp 0x44f3ed
mov eax, dword [0x48d550]
movzx eax, word [eax + 0x1872]
mov edx, dword [0x48d498]
mov dword [edx], eax
cmp byte [ebp - 3], 0xf
je 0x44f40a
mov ax, 0x17e
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d830]
call fcn.00405c48
jmp 0x44f41f
mov ax, 0x17f
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d830]
call fcn.00405c48
mov eax, dword [0x48d498]
fild dword [eax]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x180
call fcn.0040bc04
call fcn.0040f4d4
mov eax, dword [0x48da44]
push eax
mov eax, dword [0x48d830]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x48d830]
mov edx, 0x13
call fcn.00411d74
test al, al
je 0x450da8
mov byte [ebx + 0x560], 1
mov byte [ebp - 9], 1
jmp 0x450da8
cmp byte [ebp - 3], 1
je 0x44f495
cmp byte [ebp - 3], 0xf
je 0x44f495
cmp byte [ebx + 0x55d], 0
je 0x44f495
cmp byte [ebx + 0x82], 4
je 0x450da8
mov eax, dword [0x48d550]
mov ax, word [eax + 0x183a]
cmp ax, word [ebx + 0x538]
jg 0x44f575
lea ecx, [ebp - 0x2fc]
mov edx, dword [ebx + 0x17c]
xor eax, eax
call fcn.0044f120
test al, al
je 0x44f4d1
lea eax, [ebp - 0x2fc]
push eax
call sub.kernel32.dll_DeleteFileA_1
dec word [ebx + 0x538]
mov di, word [ebx + 0x538]
test di, di
jl 0x44f575
inc edi
mov word [ebp - 0x6e], 0
lea ecx, [ebp - 0x2fc]
mov ax, word [ebp - 0x6e]
inc eax
mov edx, dword [ebx + 0x17c]
call fcn.0044f120
test al, al
je 0x44f568
push 0
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x2fc]
xor ecx, ecx
xor eax, eax
call fcn.004147cc
lea eax, [ebp - 0x2fc]
mov ecx, 0x10000000
mov edx, 0xc0000000
call fcn.0040eba4
mov esi, eax
push 0
push 0
push 0x10
push esi
call sub.kernel32.dll_SetFilePointer_1
push 2
lea eax, [ebp - 0x6e]
push eax
push esi
call sub.kernel32.dll__hwrite
push esi
call sub.kernel32.dll_CloseHandle_1
push 0
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x2fc]
xor ecx, ecx
mov al, 1
call fcn.004147cc
inc word [ebp - 0x6e]
dec di
jne 0x44f4ef
cmp byte [ebp - 3], 0xf
je 0x44f597
lea ecx, [ebp - 0x2fc]
mov edx, dword [ebx + 0x17c]
mov ax, word [ebx + 0x538]
call fcn.0044f120
test al, al
jne 0x44f5cf
call fcn.00446e94
mov word [ebp - 0x72], ax
cmp word [ebp - 0x72], 0x3e7
jbe 0x44f5c0
mov ax, 0x181
call fcn.0040bc04
mov edx, 3
call fcn.00411d74
jmp 0x450da8
lea edx, [ebp - 0x2fc]
mov ax, word [ebp - 0x72]
call fcn.00446e28
cmp byte [ebp - 3], 1
jne 0x44f685
mov eax, dword [0x48d3a0]
cmp byte [eax], 0
je 0x44f5ed
mov eax, dword [0x48d774]
cmp byte [eax], 0
jne 0x44f5fd
lea edx, [ebp - 0x2fc]
mov eax, dword [0x48dbdc]
call fcn.00405c48
cmp dword [ebp + 8], 0
je 0x44f60b
mov eax, dword [ebp + 8]
cmp byte [eax], 0
jne 0x44f622
mov ax, 0x160
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48db14]
call fcn.00405c48
jmp 0x44f62f
mov eax, dword [0x48db14]
mov edx, dword [ebp + 8]
call fcn.00405c48
mov eax, dword [0x48d3a0]
cmp byte [eax], 0
jne 0x44f64c
mov dl, 0x44
mov ax, 0x1e
call fcn.0042d52c
test eax, eax
je 0x450da8
mov edx, dword [0x48dbdc]
lea eax, [ebp - 0x2fc]
call fcn.00405c48
cmp byte [ebx + 0x55d], 0
je 0x44f68d
mov eax, dword [0x48d34c]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [0x48da9c]
mov eax, dword [eax]
mov edx, dword [0x48d34c]
sub eax, dword [edx]
inc eax
mov dword [ebp + 0xc], eax
jmp 0x44f68d
mov eax, dword [0x48db14]
mov byte [eax], 0
cmp byte [ebx + 0x55d], 0
je 0x44f74a
cmp dword [ebp + 0xc], 0
jbe 0x44f700
mov eax, dword [ebp - 8]
call fcn.0040fd30
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fmulp st(1)
fistp qword [ebp - 0x98]
wait
mov eax, dword [ebp + 0xc]
call fcn.0040fd30
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fmulp st(1)
fistp qword [ebp - 0xa0]
wait
jmp 0x44f76a
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
cmp byte [ebx + 0x8c], 0
je 0x44f73a
mov ax, word [ebp - 2]
call fcn.00412944
call fcn.00412ef8
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fistp qword [ebp - 0xa0]
wait
jmp 0x44f76a
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
jmp 0x44f76a
xor eax, eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x9c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0xa4], eax
inc dword [ebp - 0xa4]
mov byte [ebp - 0xa6], 0
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x44f7b4
cmp byte [ebp - 3], 1
jne 0x44f7b4
cmp byte [ebx + 0x55d], 0
je 0x44f7b4
mov eax, dword [0x48d314]
mov byte [eax], 1
cmp dword [ebp + 0xc], 0
jbe 0x44f829
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x44f829
cmp byte [ebp - 3], 1
jne 0x44f829
mov eax, dword [0x48da34]
cmp byte [eax], 0
jne 0x44f829
mov eax, dword [0x48d3a0]
cmp byte [eax], 0
jne 0x44f829
fild dword [ebp - 0xa4]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0xbe
call fcn.0040bc04
call fcn.0040f4d4
mov eax, dword [0x48da44]
mov edx, 0x34
call fcn.00411d74
test al, al
jne 0x44f81a
call fcn.0040eae4
jmp 0x450da8
mov eax, dword [0x48d91c]
mov al, byte [eax]
mov edx, dword [0x48da34]
mov byte [edx], al
lea eax, [ebx + 0xc]
call fcn.00428760
test al, al
je 0x450da8
lea eax, [ebx + 0xc]
call fcn.00428820
mov word [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x2fc]
push eax
call sub.kernel32.dll__lcreat
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f870
lea edx, [ebp - 0x2fc]
mov ax, 3
call fcn.0040de10
jmp 0x450da8
cmp byte [ebx + 0x55d], 0
jne 0x44f8cf
mov ax, 0xe9
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [ebx + 0x14]
call fcn.0040fb28
mov edx, eax
mov eax, dword [0x48d948]
mov cx, 0x3c
call fcn.00405c80
mov eax, dword [0x48d550]
movzx eax, byte [eax + 0x188c]
lea eax, [eax + eax*4]
mov edx, dword [0x48d4f8]
lea eax, [edx + eax]
push eax
mov eax, dword [0x48d948]
push eax
call sub.kernel32.dll_lstrcatA
jmp 0x44f957
cmp dword [ebp + 0xc], 0
jbe 0x44f8ec
mov ax, 0x17d
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
jmp 0x44f901
mov ax, 0xea
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d948]
call fcn.00405c48
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [0x48d948]
push eax
call sub.kernel32.dll_lstrcatA
push 0x450dd8
mov eax, dword [0x48d948]
push eax
call sub.kernel32.dll_lstrcatA
cmp dword [ebp - 0xa4], 1
jle 0x44f957
push 0x450ddc
mov eax, dword [0x48d948]
push eax
call sub.kernel32.dll_lstrcatA
fild dword [ebp - 0xa4]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
push eax
mov eax, dword [0x48d948]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x48d948]
xor edx, edx
call fcn.0040e810
push 0x10
mov eax, dword [0x48d4b8]
push eax
push esi
call sub.kernel32.dll__hwrite
lea eax, [ebp - 0x1fc]
mov edx, pe_nt_image_headers32
call fcn.00405a9c
cmp byte [ebx + 0x55d], 0
jne 0x44f99a
lea eax, [ebp - 0x1fc]
mov edx, dword [ebx + 0x14]
call fcn.00405c48
jmp 0x44f9e8
cmp dword [ebp + 0xc], 0
jbe 0x44f9d2
lea eax, [ebp - 0x1fc]
mov edx, dword [ebx + 0x14]
call fcn.00405c48
push 0x450de0
lea eax, [ebp - 0x1fc]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [ebp - 0x1fc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
call fcn.0044d3e4
jmp 0x44f9e8
mov ax, word [ebp - 2]
call fcn.00412944
mov edx, eax
lea eax, [ebp - 0x1fc]
call fcn.00405c48
push pe_nt_image_headers32
lea eax, [ebp - 0x1fc]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48db14]
call fcn.00405bdc
mov word [ebp - 0x72], ax
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp word [ebp - 0x72], 0
je 0x44fa2c
movzx eax, word [ebp - 0x72]
push eax
mov eax, dword [0x48db14]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebx + 0x55d], 0
je 0x44fa58
cmp dword [ebp + 0xc], 0
jbe 0x44fa58
push 1
lea eax, [ebx + 0x55d]
push eax
push esi
call sub.kernel32.dll__hwrite
jmp 0x44fa64
push 1
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebx + 0x55d], 0
jne 0x44fa7b
push 8
lea eax, [ebx + 0x18]
push eax
push esi
call sub.kernel32.dll__hwrite
jmp 0x44faf0
cmp dword [ebp + 0xc], 0
jne 0x44fabc
cmp byte [ebx + 0x8c], 0
jne 0x44fa98
mov eax, dword [0x48d318]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
jmp 0x44fae2
mov ax, word [ebp - 2]
call fcn.00412944
call fcn.00412ef8
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
mov eax, dword [0x48d318]
fistp qword [eax]
wait
jmp 0x44fae2
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
mov eax, dword [0x48d318]
fistp qword [eax]
wait
push 8
mov eax, dword [0x48d318]
push eax
push esi
call sub.kernel32.dll__hwrite
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x54], eax
push 4
lea eax, [ebp + 0xc]
push eax
push esi
call sub.kernel32.dll__hwrite
push 0x10
lea eax, [ebx + 0x48c]
push eax
push esi
call sub.kernel32.dll__hwrite
push 4
lea eax, [ebx + 0x17c]
push eax
push esi
call sub.kernel32.dll__hwrite
push 4
mov eax, dword [0x48daa0]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
lea eax, [ebp - 3]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 3], 0xf
je 0x44fb5b
cmp byte [ebp - 3], 1
jne 0x44fb69
push 1
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll__hwrite
jmp 0x44fb78
push 1
lea eax, [ebx + 0x551]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
lea eax, [ebx + 0x55e]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebx + 0x55d], 0
je 0x44fbbc
cmp byte [ebp - 3], 0xf
je 0x44fba8
cmp byte [ebp - 3], 1
jne 0x44fbbc
mov word [ebp - 0x70], 0xffff
push 2
lea eax, [ebp - 0x70]
push eax
push esi
call sub.kernel32.dll__hwrite
jmp 0x44fbcb
push 2
lea eax, [ebx + 0x538]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebx + 0x55d], 0
jne 0x44fbf4
push 8
lea eax, [ebx + 0x190]
push eax
push esi
call sub.kernel32.dll__hwrite
push 8
lea eax, [ebx + 0x198]
push eax
push esi
call sub.kernel32.dll__hwrite
jmp 0x44fc13
lea eax, [ebp - 0x30c]
mov edx, 0x10
call fcn.00405a9c
push 0x10
lea eax, [ebp - 0x30c]
push eax
push esi
call sub.kernel32.dll__hwrite
movzx eax, word [ebx + 0x510]
shl eax, 4
mov edx, dword [0x48d498]
mov dword [edx], eax
push 4
mov eax, dword [0x48d498]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp word [ebx + 0x510], 0
jbe 0x44fc6a
mov eax, dword [ebx + 0x1a0]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x6c], eax
mov eax, dword [0x48d498]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x6c]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [ebx + 0x1a0]
push eax
call sub.kernel32.dll_GlobalUnlock
cmp byte [ebp - 3], 1
jne 0x44fc7e
mov eax, dword [0x48d550]
cmp byte [eax + 0x18e8], 0
jne 0x44fc82
xor eax, eax
jmp 0x44fc84
mov al, 1
mov byte [ebp - 0x74], al
cmp byte [ebp - 0x74], 0
je 0x44fcb0
mov eax, dword [0x48d550]
mov al, byte [eax + 0x18e8]
mov byte [ebp - 0x79], al
xor eax, eax
mov al, byte [ebp - 0x79]
mov edx, dword [0x48d6a8]
movzx eax, byte [edx + eax]
mov word [ebp - 0x7c], ax
jmp 0x44fcb4
mov byte [ebp - 0x79], 0
mov eax, dword [0x48d550]
cmp byte [eax + 0x18e7], 0
je 0x44fcc8
cmp byte [ebp - 3], 1
je 0x44fccc
xor eax, eax
jmp 0x44fcce
mov al, 1
mov byte [ebp - 0x75], al
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f4], 0
je 0x44fce5
cmp byte [ebp - 3], 1
je 0x44fce9
xor eax, eax
jmp 0x44fceb
mov al, 1
mov byte [ebp - 0x76], al
cmp byte [ebx + 0x55d], 0
je 0x44fcfd
cmp byte [ebp - 3], 0xf
jne 0x44fd01
xor eax, eax
jmp 0x44fd03
mov al, 1
mov byte [ebp - 0x77], al
cmp byte [ebp - 3], 1
je 0x44fd12
cmp dword [ebx + 0x58], 0
jg 0x44fd16
xor eax, eax
jmp 0x44fd18
mov al, 1
mov byte [ebp - 0x78], al
mov edx, dword [ebx + 0x58]
mov eax, 0xfa0
call fcn.0040bb7c
shl eax, 4
add eax, 4
xor edx, edx
mov dl, byte [ebp - 0x78]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x74]
movzx ecx, word [ebp - 0x7c]
add ecx, 4
imul edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x75]
shl ecx, 6
add edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x76]
shl ecx, 3
add edx, ecx
xor ecx, ecx
mov cl, byte [ebp - 0x77]
shl ecx, 3
add edx, ecx
add eax, edx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jle 0x44fd71
add dword [ebp - 0x5c], 2
push 4
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x74], 0
je 0x44fdc9
xor eax, eax
mov al, byte [ebp - 0x79]
add ax, 0xa
mov word [ebp - 0x72], ax
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
push 2
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x48], eax
movzx eax, word [ebp - 0x7c]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x75], 0
je 0x44fe94
mov word [ebp - 0x72], 0x200
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 4
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d498]
mov dword [eax], 1
push 4
mov eax, dword [0x48d498]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 0x201
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 0x10
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x4c], eax
push 0x10
lea eax, [ebp - 0xfc]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 0x202
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 0x20
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x58], eax
push 0x20
lea eax, [ebp - 0xec]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x76], 0
je 0x44fed7
mov word [ebp - 0x72], pe_nt_image_headers32
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 4
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d498]
mov dword [eax], 1
push 4
mov eax, dword [0x48d498]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x44ff59
cmp byte [ebp - 3], 1
jne 0x44ff59
cmp byte [ebx + 0x55d], 0
je 0x44ff59
mov word [ebp - 0x72], 0x309
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
lea eax, [ebp - 0x2fc]
call fcn.0040fb28
call fcn.00405bdc
add ax, 8
mov word [ebp - 0x72], ax
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
push 1
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer_1
mov dword [ebp - 0x50], eax
mov eax, dword [0x48da44]
mov edx, pe_nt_image_headers32
call fcn.00405a9c
movzx eax, word [ebp - 0x72]
push eax
mov eax, dword [0x48da44]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x77], 0
je 0x44ffa0
mov word [ebp - 0x72], 0x400
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 4
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
movzx eax, word [ebx + 0x80]
mov edx, dword [0x48d498]
mov dword [edx], eax
push 4
mov eax, dword [0x48d498]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x77], 0
je 0x44ffe7
mov word [ebp - 0x72], 0x400
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov word [ebp - 0x72], 4
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
movzx eax, word [ebx + 0x80]
mov edx, dword [0x48d498]
mov dword [edx], eax
push 4
mov eax, dword [0x48d498]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebp - 0x78], 0
je 0x45002e
mov word [ebp - 0x72], 0x401
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
mov edx, dword [ebx + 0x58]
mov eax, 0xfa0
call fcn.0040bb7c
shl eax, 4
mov word [ebp - 0x72], ax
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
movzx eax, word [ebp - 0x72]
push eax
mov eax, dword [ebx + 0x54]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp dword [ebp - 0x5c], 0
jle 0x450046
mov word [ebp - 0x72], 0xffff
push 2
lea eax, [ebp - 0x72]
push eax
push esi
call sub.kernel32.dll__hwrite
xor eax, eax
mov dword [ebp - 0x40], eax
cmp byte [ebp - 0x75], 0
je 0x450078
mov eax, dword [0x48d208]
mov dl, 1
call fcn.00406564
push 1
mov ecx, dword [0x48d208]
mov edx, dword [fcn.00406564]
xor eax, eax
call fcn.00406858
mov dword [ebp - 0x84], eax
push 4
push 0x1000
push 0x25800
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edi, eax
test edi, edi
jne 0x4500ad
push 0
push 0x25800
call fcn.00412abc
mov edx, eax
mov ax, 0xb
call fcn.0040de10
jmp 0x450ca1
push 4
push 0x1000
push 0x27600
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x4500e5
push 0
push 0x4b000
call fcn.00412abc
mov edx, eax
mov ax, 0xb
call fcn.0040de10
jmp 0x450ca1
cmp byte [ebx + 0x55d], 0
je 0x450113
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
push eax
mov eax, 0x25800
pop edx
mov ecx, edx
xor edx, edx
div ecx
mov word [0x48cf64], ax
mov eax, dword [0x48d2b0]
cmp byte [eax], 0
je 0x45012e
cmp byte [ebx + 0x55d], 0
je 0x45012e
mov eax, dword [0x48d768]
mov byte [eax], 1
cmp byte [ebx + 0x55d], 0
je 0x45032c
cmp byte [ebp - 3], 0xf
jne 0x45032c
mov eax, dword [ebp + 0xc]
dec eax
movzx edx, word [0x48cf64]
mov ecx, edx
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x8c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x8c]
test eax, eax
jbe 0x45031a
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
jae 0x45019d
movzx eax, word [0x48cf64]
mov dword [ebp - 0x90], eax
jmp 0x4501b5
mov eax, dword [ebp + 0xc]
dec eax
movzx edx, word [0x48cf64]
mov ecx, edx
xor edx, edx
div ecx
inc edx
mov dword [ebp - 0x90], edx
push edi
mov edx, dword [ebp - 0x88]
dec edx
movzx eax, word [0x48cf64]
imul edx, eax
add edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x90]
mov al, byte [ebx + 0x55d]
call fcn.0041c514
test al, al
jne 0x4501f0
mov edx, dword [ebx + 0x14]
mov ax, 6
call fcn.0040de10
jmp 0x450ca1
cmp dword [ebp + 0xc], 1
jbe 0x450283
mov eax, dword [ebp - 0x88]
call fcn.0040fd30
fsub dword [0x450de4]
movzx eax, word [0x48cf64]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fmulp st(1)
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x368], eax
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
faddp st(1)
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x370], eax
xor eax, eax
mov dword [ebp - 0x36c], eax
fild qword [ebp - 0x370]
fdivp st(1)
fmul dword [0x450de8]
call fcn.004028a0
mov edx, dword [0x48d1d8]
mov byte [edx], al
mov eax, dword [0x48d1d8]
mov al, byte [eax]
mov edx, dword [0x48d668]
cmp al, byte [edx]
je 0x45027e
call fcn.00414c64
call fcn.0040f494
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
imul dword [ebp - 0x90]
push eax
push edi
push esi
call sub.kernel32.dll__hwrite
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 1
jbe 0x4502b6
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
jne 0x4502d3
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
imul dword [ebp - 0x90]
cmp eax, dword [ebp - 0x14]
je 0x450308
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
imul dword [ebp - 0x90]
cmp eax, dword [ebp - 0x14]
je 0x450ca1
lea edx, [ebp - 0x2fc]
mov ax, 5
call fcn.0040de10
jmp 0x450ca1
inc dword [ebp - 0x88]
dec dword [ebp - 0xac]
jne 0x450180
mov eax, dword [0x48d1d8]
mov byte [eax], 0x64
call fcn.00414c64
jmp 0x450785
fild qword [ebp - 0xa0]
fcomp dword [0x450dec]
fnstsw ax
sahf
jbe 0x45076f
lea eax, [ebx + 0xc]
call fcn.00428760
cmp byte [ebp - 0x74], 0
je 0x45035d
lea eax, [ebp - 0x350]
mov dl, byte [ebp - 0x79]
call fcn.0040ae18
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, 0xe000
call fcn.004024e8
mov dword [ebp - 0x68], eax
cmp byte [ebp - 0x76], 0
je 0x4503d0
xor eax, eax
mov dword [ebp - 0x324], eax
xor eax, eax
mov dword [ebp - 0x31c], eax
xor eax, eax
mov dword [ebp - 0x318], eax
xor eax, eax
mov dword [ebp - 0x314], eax
push 0xf
push 8
push 0
lea eax, [ebp - 0x374]
mov edx, dword [0x48db34]
call fcn.00404640
mov eax, dword [ebp - 0x374]
push eax
push 0x2c
lea eax, [ebp - 0x338]
mov ecx, 8
mov edx, 5
call fcn.0044c5d4
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x334], eax
cmp byte [ebp - 0x76], 0
je 0x4503eb
cmp dword [ebp - 0x334], 0
jne 0x4504c7
cmp byte [ebx + 0x55d], 0
jne 0x450416
mov eax, dword [0x48d5f4]
mov byte [eax], 1
push 0x25800
lea edx, [ebp - 0x20]
mov ecx, edi
lea eax, [ebx + 0xc]
call fcn.004254a8
mov dword [ebp - 0x10], eax
jmp 0x4504b8
cmp dword [ebp + 0xc], 0
jbe 0x450486
mov eax, dword [ebp + 0xc]
call fcn.0040fd30
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fmulp st(1)
fild qword [ebp - 0x20]
fsubp st(1)
add esp, 0xfffffff8
fistp qword [esp]
wait
push 0
push 0x25800
call fcn.0040bb94
call fcn.004028a0
mov edx, dword [0x48d498]
mov dword [edx], eax
mov eax, dword [0x48d498]
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x98]
mov ecx, edi
lea eax, [ebx + 0xc]
call fcn.004254a8
mov dword [ebp - 0x10], eax
jmp 0x450498
push 0x25800
push edi
mov eax, dword [ebx + 0x10]
push eax
call sub.kernel32.dll__hread
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x368], eax
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
fild qword [ebp - 0x20]
faddp st(1)
fistp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x338], edi
cmp dword [ebp - 0x10], 0xffffffff
je 0x450729
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x368], eax
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
fild qword [ebp - 0x28]
faddp st(1)
fistp qword [ebp - 0x28]
wait
cmp byte [ebp - 0x74], 0
je 0x450507
lea eax, [ebp - 0x350]
mov ecx, dword [ebp - 0x10]
mov edx, edi
call fcn.0040af28
cmp byte [ebp - 0x76], 0
je 0x4505a9
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 0x27600
xor eax, eax
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x10], 0
jbe 0x450566
lea eax, [ebp - 0x338]
mov edx, 1
call fcn.0044c8a0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x450598
fild dword [ebp - 0x80]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
mov edx, 1
call fcn.00411d74
jmp 0x450598
lea eax, [ebp - 0x338]
mov edx, 4
call fcn.0044c8a0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
je 0x450598
fild dword [ebp - 0x80]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
mov edx, 1
call fcn.00411d74
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
jmp 0x4505b2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x60], edi
cmp byte [ebp - 0x75], 0
je 0x4505d0
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x60]
call fcn.004068b0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x60]
push eax
push esi
call sub.kernel32.dll__hwrite
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x368], eax
xor eax, eax
mov dword [ebp - 0x364], eax
fild qword [ebp - 0x368]
fild qword [ebp - 0x30]
faddp st(1)
fistp qword [ebp - 0x30]
wait
fild qword [ebp - 0x28]
fmul dword [0x450de8]
fild qword [ebp - 0xa0]
fdivp st(1)
call fcn.004028a0
mov edx, dword [0x48d1d8]
mov byte [edx], al
mov eax, dword [0x48d1d8]
mov al, byte [eax]
mov edx, dword [0x48d668]
cmp al, byte [edx]
je 0x450635
call fcn.00414c64
call fcn.0040f494
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
je 0x450659
mov eax, dword [ebp - 0x68]
call fcn.00402508
lea eax, [ebx + 0xc]
call fcn.00428820
jmp 0x450ca1
cmp byte [ebx + 0x55d], 0
je 0x450711
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x450711
cmp byte [ebp - 3], 1
jne 0x450711
mov eax, esi
call fcn.00412ed4
mov eax, dword [0x48d318]
fistp qword [eax]
wait
mov eax, dword [0x48d550]
movzx eax, word [eax + 0x1878]
call fcn.0040fd30
fmul dword [0x450dd4]
fmul dword [0x450dd4]
mov eax, dword [0x48d318]
fild qword [eax]
fadd dword [0x450df0]
fcompp
fnstsw ax
sahf
jbe 0x450711
mov eax, dword [ebp + 0xc]
xor edx, edx
push edx
push eax
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fild qword [ebp - 0x20]
fdivrp st(1)
call fcn.004028a0
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x450706
cmp eax, 0
jbe 0x450711
jmp 0x450708
jle 0x450711
mov byte [ebp - 0xa6], 1
jmp 0x450729
cmp dword [ebp - 0x10], 0xffffffff
je 0x450729
cmp dword [ebp - 0x10], 0
je 0x450729
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x4503d8
lea eax, [ebx + 0xc]
call fcn.00428820
cmp dword [ebp - 0x10], 0xffffffff
je 0x45073f
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x45076f
cmp dword [ebp - 0x10], 0xffffffff
jne 0x450753
mov edx, dword [ebx + 0x14]
mov ax, 2
call fcn.0040de10
jmp 0x450762
lea edx, [ebp - 0x2fc]
mov ax, 5
call fcn.0040de10
mov eax, dword [ebp - 0x68]
call fcn.00402508
jmp 0x450ca1
cmp byte [ebp - 0xa6], 0
jne 0x450785
mov eax, dword [0x48d1d8]
mov byte [eax], 0x64
call fcn.00414c64
cmp byte [ebp - 0x74], 0
je 0x4507fa
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0x350]
xor ecx, ecx
call fcn.0040b040
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
movzx eax, word [ebp - 0x7c]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
call sub.kernel32.dll__hwrite
cmp byte [ebx + 0x55d], 0
jne 0x4507fa
mov eax, dword [0x48d550]
mov al, byte [eax + 0x18f1]
cmp al, byte [ebp - 0x79]
jne 0x4507fa
movzx ecx, word [ebp - 0x7c]
lea edx, [ebp - 0xcc]
lea eax, [ebx + 0x2c]
call fcn.00405a94
mov eax, dword [0x48d550]
mov al, byte [eax + 0x18f1]
mov byte [ebx + 0x8f], al
cmp byte [ebp - 0x75], 0
je 0x4508a5
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
push 0x10
lea eax, [ebp - 0xfc]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d208]
xor edx, edx
call fcn.00406564
mov edx, 0x2c
mov eax, dword [ebp - 0x84]
call fcn.00402508
lea ecx, [ebp - 0xec]
lea edx, [ebp - 0xfc]
mov eax, dword [0x48d208]
call fcn.0040ace4
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
push 0x20
lea eax, [ebp - 0xec]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d550]
cmp byte [eax + 0x18ea], 0
jne 0x4508a5
mov eax, dword [0x48d208]
mov dl, 1
call fcn.00406564
mov eax, dword [0x48d208]
mov edx, 0x11
call fcn.00405a9c
mov eax, dword [0x48d208]
xor edx, edx
call fcn.00406564
cmp byte [ebp - 0xa6], 0
je 0x450b59
lea eax, [ebp - 0x1fc]
mov edx, pe_nt_image_headers32
call fcn.00405a9c
cmp byte [ebx + 0x55d], 0
jne 0x4508db
lea eax, [ebp - 0x1fc]
mov edx, dword [ebx + 0x14]
call fcn.00405c48
jmp 0x450950
cmp dword [ebp + 0xc], 0
jbe 0x45093a
lea eax, [ebp - 0x1fc]
mov edx, dword [ebx + 0x14]
call fcn.00405c48
push 0x450de0
lea eax, [ebp - 0x1fc]
push eax
call sub.kernel32.dll_lstrcatA
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fild qword [ebp - 0x20]
fdivrp st(1)
call fcn.004028a0
mov ecx, eax
lea eax, [ebp - 0x1fc]
mov edx, dword [ebp - 8]
call fcn.0044d3e4
jmp 0x450950
mov ax, word [ebp - 2]
call fcn.00412944
mov edx, eax
lea eax, [ebp - 0x1fc]
call fcn.00405c48
push 0
push 0
push 0x10
push esi
call sub.kernel32.dll_SetFilePointer_1
push pe_nt_image_headers32
lea eax, [ebp - 0x1fc]
push eax
push esi
call sub.kernel32.dll__hwrite
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fild qword [ebp - 0x20]
fdivrp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0040fd58
mov edx, dword [0x48d57c]
mov dword [edx], eax
push 4
mov eax, dword [0x48d57c]
push eax
push esi
call sub.kernel32.dll__hwrite
mov eax, dword [0x48d774]
cmp byte [eax], 0
je 0x450a8f
lea edx, [ebp - 0x2fc]
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, dword [0x48da44]
mov dl, 0x2e
call fcn.00412f80
dec eax
mov edx, dword [0x48d498]
mov dword [edx], eax
cmp dword [ebp - 0xa4], 1
jle 0x450a1d
fild dword [ebp - 0xa4]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
call fcn.00405bdc
inc eax
mov edx, dword [0x48d498]
sub dword [edx], eax
mov eax, dword [0x48d498]
mov eax, dword [eax]
mov edx, dword [0x48da44]
mov byte [edx + eax], 0x2d
mov eax, dword [0x48d498]
mov eax, dword [eax]
mov edx, dword [0x48da44]
mov byte [edx + eax + 1], 0
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004123c0
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov eax, dword [0x48d3d0]
push eax
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x48da44]
lea eax, [ebp - 0x2fc]
call fcn.00405c48
jmp 0x450ac7
call fcn.00446e94
mov word [ebp - 0x72], ax
cmp word [ebp - 0x72], 0x3e7
jbe 0x450ab8
mov ax, 0x181
call fcn.0040bc04
mov edx, 3
call fcn.00411d74
jmp 0x450da8
lea edx, [ebp - 0x2fc]
mov ax, word [ebp - 0x72]
call fcn.00446e28
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fild qword [ebp - 0x20]
fdivrp st(1)
call fcn.004028a0
add dword [ebp - 8], eax
movsx eax, byte [ebx + 0x55d]
mov edx, dword [0x48d9a0]
movzx eax, word [edx + eax*2 + 0x4c]
mov dword [ebp - 0x354], eax
fild dword [ebp - 0x354]
fild qword [ebp - 0x20]
fdivrp st(1)
call fcn.004028a0
sub dword [ebp + 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
push esi
call sub.kernel32.dll_SetFilePointer_1
lea eax, [ebp - 0x2fc]
call fcn.0040fb28
mov edx, eax
mov eax, dword [0x48da44]
call fcn.00405c48
mov eax, dword [0x48da44]
call fcn.00405bdc
push eax
mov eax, dword [0x48da44]
push eax
push esi
call sub.kernel32.dll__hwrite
push esi
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb04
cmp byte [ebp - 0x76], 0
je 0x450bd3
lea eax, [ebp - 0x338]
call fcn.0044caa4
cmp byte [ebp - 0xa6], 0
jne 0x450bd3
mov eax, dword [0x48d3a0]
cmp byte [eax], 0
jne 0x450bd3
fild qword [ebp - 0x28]
fild qword [ebp - 0x30]
fsubp st(1)
fmul dword [0x450de8]
fild qword [ebp - 0x28]
fdivp st(1)
call fcn.004028a0
mov edx, dword [0x48d498]
mov dword [edx], eax
mov eax, dword [0x48d498]
fild dword [eax]
add esp, 0xfffffff8
fistp qword [esp]
wait
mov ax, 0x2b9
call fcn.0040bc04
call fcn.0040f4d4
mov eax, dword [0x48da44]
mov edx, 4
call fcn.00411d74
cmp byte [ebp - 0xa6], 0
jne 0x44f782
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x450c02
cmp byte [ebp - 3], 1
jne 0x450c02
cmp byte [ebx + 0x55d], 0
je 0x450c02
call fcn.0040eae4
mov byte [ebp - 9], 1
cmp byte [ebp - 3], 0xf
je 0x450c1e
lea edx, [ebp - 0x2fc]
mov cl, byte [ebp - 3]
mov ax, word [ebp - 2]
call fcn.0044f16c
mov eax, dword [0x48d550]
cmp byte [eax + 0x18e6], 0
je 0x450c70
cmp byte [ebp - 0x74], 0
je 0x450c70
mov ax, 0x2b7
call fcn.0040bc04
mov edx, eax
mov eax, dword [0x48d830]
call fcn.00405c48
movzx ecx, word [ebp - 0x7c]
lea edx, [ebp - 0xcc]
mov eax, dword [0x48d5d8]
call fcn.00405a94
mov eax, dword [0x48d7cc]
mov dl, byte [ebp - 0x79]
mov byte [eax], dl
mov dl, 0x46
mov ax, 0x1f
call fcn.0042d52c
mov eax, dword [0x48d768]
cmp byte [eax], 0
je 0x450da8
mov eax, dword [0x48d768]
mov byte [eax], 0
mov eax, dword [0x48d844]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x48d844]
xor edx, edx
mov dword [eax], edx
jmp 0x450da8
cmp byte [ebp - 0x76], 0
je 0x450cb2
lea eax, [ebp - 0x338]
call fcn.0044caa4
cmp byte [ebp - 0x75], 0
je 0x450cf1
mov edx, 0x2c
mov eax, dword [ebp - 0x84]
call fcn.00402508
mov eax, dword [0x48d550]
cmp byte [eax + 0x18ea], 0
jne 0x450ce5
mov eax, dword [0x48d208]
mov edx, 0x11
call fcn.00405a9c
mov eax, dword [0x48d208]
xor edx, edx
call fcn.00406564
push esi
call sub.kernel32.dll_CloseHandle_1
call fcn.0040eb04
test edi, edi
je 0x450d10
push 0x4000
push 0x25800
push edi
call sub.kernel32.dll_VirtualFree_1
cmp dword [ebp - 0x64], 0
je 0x450d29
push 0x4000
push 0x27600
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [0x48d550]
cmp byte [eax + 0x18f3], 0
je 0x450d4b
cmp byte [ebp - 3], 1
jne 0x450d4b
cmp byte [ebx + 0x55d], 0
je 0x450d4b
call fcn.0040eae4
lea eax, [ebp - 0x2fc]
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [0x48d768]
cmp byte [eax], 0
je 0x450d7f
mov eax, dword [0x48d768]
mov byte [eax], 0
mov eax, dword [0x48d844]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x48d844]
xor edx, edx
mov dword [eax], edx
cmp byte [ebp - 3], 1
je 0x450da8
mov eax, dword [0x48d9fc]
cmp byte [eax], 0
je 0x450da8
mov ax, 0x1d9
call fcn.0040bc04
mov edx, 0x66
call fcn.00411d74
cmp al, 1
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450dc8
lea eax, [ebp - 0x374]
call fcn.00404410
ret