Function at 0x447d70
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [0x4a7ff8]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x68], 0
cmp ebx, 0xffffffff
je 0x447daa
mov dword [esp + 0x68], 1
jmp 0x447dd0
lea ecx, [esp + 0x10]
call fcn.00447ae0
test eax, eax
jne 0x447dcc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0046d049
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov esi, 1
cmp ebx, 0xffffffff
je 0x4493fa
mov ecx, str.MMF2Position:
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x447de6
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
sub ecx, edx
push ecx
push str.MMF2Position:
push ebx
call edi
test eax, eax
je 0x4493fa
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push ebx
mov dword [esp + 0x54], 0x800c
call edi
test eax, eax
je 0x4493fa
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x4f4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x80]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447e45
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push ebx
call edi
test eax, eax
je 0x4493fa
push 0
lea eax, [esp + 0x10]
push eax
movzx eax, word [esp + 0x48]
push eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x4f4]
mov eax, dword [eax + 0x34]
push dword [eax + 0x80]
push ebx
call edi
test eax, eax
je 0x4493fa
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4ad9b4]
push 4
add eax, 0x400
push eax
push ebx
call edi
test eax, eax
je 0x4493fa
mov eax, dword [0x4ad9b4]
push 0
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 0x1f0]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x4c]
push eax
push ebx
call edi
test eax, eax
je 0x4493fa
push 0x68
call fcn.0046d058
mov ecx, dword [0x4ad9b4]
mov esi, eax
movzx ecx, byte [ecx + 0x26]
mov byte [esi], cl
mov ecx, dword [0x4ad9b4]
add esp, 4
movzx ecx, byte [ecx + 0x27]
mov byte [esi + 1], cl
mov ecx, dword [0x4ad9b4]
mov cx, word [ecx + 0x28]
mov word [esi + 2], cx
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0xb0]
mov dword [esi + 4], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0xb4]
mov dword [esi + 8], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0xd0]
mov dword [esi + 0xc], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0xd4]
mov dword [esi + 0x10], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x4ad9b4]
mov ecx, dword [ecx + 0xd8]
sub ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x110]
mov dword [esi + 0x18], eax
mov eax, dword [0x4ad9b4]
movzx eax, word [eax + 0x14c]
mov word [esi + 0x1c], ax
mov eax, dword [0x4ad9b4]
movzx eax, word [eax + 0x18c]
mov word [esi + 0x1e], ax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x190]
mov dword [esi + 0x20], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x194]
mov dword [esi + 0x24], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x19c]
mov dword [esi + 0x28], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1a0]
mov dword [esi + 0x2c], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1b4]
mov dword [esi + 0x30], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1b8]
mov dword [esi + 0x34], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1bc]
mov dword [esi + 0x38], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c4]
mov dword [esi + 0x40], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c8]
mov dword [esi + 0x44], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1cc]
mov dword [esi + 0x48], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1d0]
mov dword [esi + 0x4c], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x4d8]
mov dword [esi + 0x50], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x4dc]
mov dword [esi + 0x54], eax
mov eax, dword [0x4ad9b4]
push 0
mov eax, dword [eax + 0x4e0]
mov dword [esi + 0x58], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x504]
mov dword [esi + 0x5c], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x508]
mov dword [esi + 0x60], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x50c]
mov dword [esi + 0x64], eax
lea eax, [esp + 0x10]
push eax
push 0x68
push esi
push ebx
call edi
test eax, eax
je 0x4493f5
push esi
call fcn.0046d0ea
add esp, 4
push 0x2c
call fcn.0046d058
mov ecx, dword [0x4ad9b4]
mov esi, eax
mov ecx, dword [ecx + 0x1c]
add esp, 4
mov ecx, dword [ecx + 0x1c]
mov dword [esi], ecx
mov ecx, dword [0x4ad9b4]
push 0
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esi + 4], ecx
mov ecx, dword [0x4ad9b4]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x24]
mov dword [esi + 8], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
mov dword [esi + 0x28], eax
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
movq xmm0, qword [eax + 0x34]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x3c]
lea eax, [esp + 0x10]
push eax
push 0x2c
push esi
push ebx
movq qword [esi + 0x20], xmm0
call edi
test eax, eax
je 0x4493f5
push esi
call fcn.0046d0ea
add esp, 4
push 0x1c
call fcn.0046d058
mov ecx, dword [0x4ad9b4]
mov esi, eax
mov eax, dword [ecx + 0x1c]
add esp, 4
cmp dword [eax + 0x2c], 0
mov dword [esp + 0x10], 0
jle 0x4481f1
xor edx, edx
mov dword [esp + 0x38], edx
mov edi, edi
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + edx + 4]
add ecx, edx
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 4], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x34]
push 0
mov dword [esi + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x1c
push esi
push ebx
call edi
test eax, eax
je 0x4481f1
mov eax, dword [0x4ad9b4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x1c]
inc ecx
add edx, 0x60
mov dword [esp + 0x10], ecx
mov dword [esp + 0x38], edx
cmp ecx, dword [eax + 0x2c]
jl 0x448190
push esi
call fcn.0046d0ea
add esp, 4
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [0x4ad9b4]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x25c]
push ebx
call edi
test eax, eax
je 0x4493f5
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4ad9b4]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x258]
push ebx
call edi
test eax, eax
je 0x4493f5
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x4ad9b4]
push 4
mov eax, dword [eax + 0x18]
add eax, 0x264
push eax
push ebx
call edi
mov esi, 1
test eax, eax
je 0x4493fa
mov edx, dword [0x4ad9b4]
mov dword [esp + 0x44], esi
mov eax, dword [edx + 0x18]
mov dword [esp + 0x10], 0
cmp dword [eax + 0x264], 0
jle 0x4482d0
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea esp, [esp]
mov edx, dword [eax + 0x268]
add edx, ecx
mov ecx, ebx
call fcn.00447a20
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x4493f5
mov edx, dword [0x4ad9b4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x18]
add dword [esp + 0x14], 0x10
inc ecx
cmp ecx, dword [eax + 0x264]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
jl 0x448290
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x18]
push 4
add eax, 0x278
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov edx, dword [0x4ad9b4]
add edx, 0x18
xor ecx, ecx
mov eax, dword [edx]
mov dword [esp + 0x10], ecx
cmp dword [eax + 0x278], ecx
jle 0x4483b4
lea ebx, [ebx]
mov dword [esp + 0x14], 0
mov eax, dword [edx]
mov eax, dword [eax + 0x27c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x44834d
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448330
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push ebx
call edi
mov esi, eax
mov dword [esp + 0x44], esi
test esi, esi
je 0x4493f5
mov eax, dword [esp + 0x14]
test ax, ax
jle 0x448393
push 0
lea ecx, [esp + 0x10]
push ecx
cwde
push eax
push dword [esp + 0x30]
push ebx
call edi
mov esi, eax
mov dword [esp + 0x44], eax
test esi, esi
je 0x4493f5
mov edx, dword [0x4ad9b4]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x18]
add edx, 0x18
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [eax + 0x278]
jl 0x448310
test esi, esi
je 0x4493f5
mov dword [esp + 0x5c], 0
call fcn.00434680
test eax, eax
je 0x4483e4
lea ecx, [ecx]
cmp word [eax + 2], 2
jb 0x4483db
inc dword [esp + 0x5c]
call fcn.00434620
test eax, eax
jne 0x4483d0
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x68]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [0x4ad9b4]
xor esi, esi
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x1278]
cmp dword [eax + 0x3c], esi
jle 0x448444
cmp dword [ecx], 0
jne 0x448428
jmp 0x448420
add ecx, 8
cmp dword [ecx], 0
je 0x448420
mov eax, dword [ecx]
add ecx, 8
cmp word [eax + 0x1a], 0
jne 0x448439
dec edx
mov dword [esp + 0x64], edx
mov eax, dword [0x4ad9b4]
inc esi
cmp esi, dword [eax + 0x3c]
jl 0x448416
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x70]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
push 0x4c
call fcn.0046d058
add esp, 4
mov dword [esp + 0x38], eax
push 0x5c
call fcn.0046d058
add esp, 4
mov esi, eax
push 0x74
mov dword [esp + 0x58], esi
call fcn.0046d058
add esp, 4
mov dword [esp + 0x24], eax
push 0x50
call fcn.0046d058
add esp, 4
mov dword [esp + 0x48], eax
push 0x24
call fcn.0046d058
add esp, 4
mov dword [esp + 0x10], eax
push 0x50
call fcn.0046d058
mov ecx, dword [0x4ad9b4]
xor edx, edx
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x1278]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], edx
cmp dword [ecx + 0x3c], edx
jle 0x448d8c
cmp dword [eax], 0
jne 0x4484e8
jmp 0x4484e0
add eax, 8
cmp dword [eax], 0
je 0x4484e0
mov esi, dword [eax]
add eax, 8
cmp word [esi + 0x1a], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], eax
je 0x448d7a
movzx eax, word [esi]
mov ecx, dword [esp + 0x38]
push 0
mov word [ecx], ax
movzx eax, word [esi + 0x10]
mov word [ecx + 2], ax
movzx eax, word [esi + 0x12]
mov word [ecx + 4], ax
movzx eax, word [esi + 0x1a]
mov word [ecx + 6], ax
mov eax, dword [esi + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x64]
mov dword [ecx + 0x24], eax
movq xmm0, qword [esi + 0x68]
movq qword [ecx + 0x28], xmm0
movq xmm0, qword [esi + 0x70]
movq qword [ecx + 0x30], xmm0
mov eax, dword [esi + 0x78]
mov dword [ecx + 0x38], eax
movzx eax, word [esi + 0x7c]
mov word [ecx + 0x3c], ax
mov eax, dword [esi + 0x84]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0xb4]
mov dword [ecx + 0x44], eax
lea eax, [esp + 0x10]
push eax
push 0x4c
push ecx
push ebx
mov dword [esp + 0x50], 1
call edi
test eax, eax
je 0x448d88
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], 0
mov dword [eax + 0x48], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4485d9
cmp dword [eax], 0
je 0x4485ca
add eax, 4
cmp dword [eax], 0
jne 0x4485c2
sub ax, word [esi + 0x2c]
add ax, 4
movzx eax, ax
mov dword [esp + 0x58], eax
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x64]
push eax
push ebx
call edi
test eax, eax
je 0x448d88
mov eax, dword [esp + 0x58]
test ax, ax
je 0x448614
push 0
lea ecx, [esp + 0x10]
push ecx
movzx eax, ax
push eax
push dword [esi + 0x2c]
push ebx
call edi
test eax, eax
je 0x448d88
test dword [esi + 0x78], 0x230
je 0x448770
mov eax, dword [esi + 0xc8]
mov ecx, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xcc]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xd8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xdc]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0xe0]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0xe4]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0xe8]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0xec]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0xf0]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0xf4]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0xf8]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x104]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x108]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x10c]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x110]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0x114]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x118]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x11c]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x120]
mov dword [ecx + 0x4c], eax
mov eax, dword [esi + 0x120]
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x58], 0
mov eax, dword [esi + 0x128]
test eax, eax
je 0x448701
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x54]
inc eax
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x44871b
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [esp + 0x54]
inc eax
mov dword [ecx + 0x58], eax
xor eax, eax
mov word [ecx], ax
cmp dword [esi + 0xc0], 0x431cb0
lea edx, [eax + 1]
jne 0x448732
mov word [ecx], dx
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esi + 0xc4]
cmp eax, 0x431b30
jne 0x44874b
mov word [ecx + 2], dx
jmp 0x44875b
cmp eax, 0x431cb0
jne 0x44875b
mov eax, 2
mov word [ecx + 2], ax
push 0
lea eax, [esp + 0x10]
push eax
push 0x5c
push ecx
push ebx
call edi
test eax, eax
je 0x448d88
test byte [esi + 0x78], 0x10
je 0x448866
mov eax, dword [esi + 0x130]
mov edx, dword [esp + 0x24]
add esi, 0x17e
mov dword [edx], eax
mov eax, dword [esi - 0x4a]
mov dword [edx + 4], eax
mov eax, dword [esi - 0x3e]
mov dword [edx + 8], eax
mov eax, dword [esi - 0x32]
mov dword [edx + 0xc], eax
mov eax, dword [esi - 0x2e]
mov dword [edx + 0x10], eax
mov ax, word [esi - 0x2a]
mov word [edx + 0x14], ax
mov eax, dword [esi - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [esi - 8]
mov dword [edx + 0x1c], eax
mov eax, dword [esi - 4]
mov dword [edx + 0x20], eax
lea edi, [edx + 0x24]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0xcc]
cmp eax, 5
je 0x448815
cmp eax, 9
je 0x4487f9
cmp eax, 0xd
jne 0x448824
cmp dword [edx + 0x24], 0
mov dword [edx + 0x20], 0xffffffff
je 0x448824
mov eax, dword [edx + 0x28]
movsx eax, word [eax]
mov dword [edx + 0x28], eax
jmp 0x448824
mov eax, dword [esi + 0x1b2]
test eax, eax
je 0x44880c
movsx eax, word [eax]
inc eax
mov dword [edx + 0x58], eax
jmp 0x448824
mov dword [edx + 0x58], 0
jmp 0x448824
mov eax, dword [esi + 0x1a2]
sub eax, dword [esi + 0x1aa]
mov dword [edx + 0x48], eax
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x74
push edx
push ebx
call edi
test eax, eax
je 0x448d88
cmp dword [esi + 0xcc], 0xe
jne 0x448866
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x448866
mov eax, dword [ecx]
push ebx
push 0x1010
push esi
call dword [eax + 0x54]
test eax, eax
je 0x448d88
test byte [esi + 0x78], 0x20
je 0x4488de
mov edx, dword [esi + 0xb8]
mov edi, dword [esp + 0x48]
add edx, esi
mov ecx, 0x14
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
mov ecx, dword [edx + 0x14]
mov edi, dword [esi + 0x44]
test ecx, ecx
je 0x4488a2
movzx eax, word [edi + 6]
sub ecx, eax
mov eax, dword [esp + 0x48]
sub ecx, edi
mov dword [eax + 0x14], ecx
mov ecx, eax
jmp 0x4488ad
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x14], 0
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4488bc
sub eax, dword [edx + 0x14]
mov dword [ecx + 0x20], eax
jmp 0x4488c3
mov dword [ecx + 0x20], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x50
push ecx
push ebx
call edi
test eax, eax
je 0x448d88
test dword [esi + 0x78], 0x200
je 0x448a3a
mov eax, dword [esi + 0xbc]
mov ecx, dword [esp + 0x10]
movq xmm0, qword [eax + esi]
add eax, esi
movq qword [ecx], xmm0
movq xmm0, qword [eax + 8]
movq qword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [ecx + 0x18], xmm0
mov eax, dword [eax + 0x20]
mov dword [ecx + 0x20], eax
cmp word [ecx + 0x18], 0xd
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x20], eax
jne 0x448942
mov eax, 0xffbf
and word [ecx + 0x20], ax
mov dword [ecx + 0x1c], 0
push 0
lea eax, [esp + 0x10]
push eax
push 0x24
push ecx
push ebx
call edi
test eax, eax
je 0x448d88
mov eax, dword [esp + 0x10]
cmp word [eax + 0x18], 0xd
jne 0x448a3a
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
test ecx, ecx
je 0x4489a9
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [esp + 0x7c], eax
push 0
lea eax, [esp + 0x10]
push eax
push 0xc
lea eax, [esp + 0x80]
push eax
push ebx
call edi
test eax, eax
je 0x448d88
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x448a3a
xor edx, edx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x7c], edx
jle 0x448a3a
lea esp, [esp]
mov eax, dword [ecx]
push edx
mov dword [esp + 0x30], 0
call dword [eax + 0x18]
sub eax, 0
je 0x4489fd
dec eax
je 0x448c72
dec eax
jne 0x448a0e
mov ecx, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [esp + 0x2c], eax
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x38]
push eax
push ebx
call edi
test eax, eax
je 0x448d88
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, dword [esp + 0x7c]
jl 0x4489e0
test dword [esi + 0x78], 0x100
je 0x448b99
mov eax, dword [esi + 0x80]
push 0
add eax, esi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x24], eax
push 4
add eax, 4
push eax
push ebx
call edi
test eax, eax
je 0x448d88
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
cmp dword [edx + 4], 0
mov ecx, dword [edx]
mov dword [esp + 0x20], ecx
jle 0x448c8a
mov edx, ecx
mov ecx, ebx
call fcn.00447a20
test eax, eax
je 0x448d88
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
inc edx
add ecx, 0x10
cmp edx, dword [esi + 4]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
jl 0x448a87
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x448d88
lea ecx, [edx + 0x86]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], ecx
jmp 0x448ae0
mov eax, dword [ecx]
mov dword [esp + 0x34], 0
mov dword [esp + 0x60], eax
test eax, eax
je 0x448b14
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448af7
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [esp + 0x34], eax
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x40]
push eax
push ebx
call edi
mov dword [esp + 0x44], eax
test eax, eax
je 0x448d88
mov ecx, dword [esp + 0x34]
test cx, cx
jle 0x448b58
push 0
lea eax, [esp + 0x10]
push eax
movsx eax, cx
push eax
push dword [esp + 0x6c]
push ebx
call edi
mov dword [esp + 0x44], eax
test eax, eax
je 0x448d88
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
inc edx
add ecx, 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], ecx
cmp edx, 0xa
jl 0x448ae0
test eax, eax
je 0x448d88
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
push 4
add eax, 0x68
push eax
push ebx
call edi
test eax, eax
je 0x448d88
movzx eax, word [esi + 0x18]
cmp ax, 3
je 0x448bc5
cmp ax, 4
je 0x448bc5
cmp ax, 5
je 0x448bc5
cmp ax, 6
je 0x448bc5
cmp ax, 7
je 0x448bc5
cmp ax, 9
jne 0x448cbd
push 0x50
lea eax, [esi + 0x1f2]
push eax
push dword [esp + 0x1c]
call fcn.00470660
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp word [esi + 0x18], 9
jne 0x448bec
mov dword [eax + 4], 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x50
push eax
push ebx
call edi
test eax, eax
je 0x448d88
movzx eax, word [esi + 0x18]
cmp ax, 3
jne 0x448ca6
mov ecx, dword [esi + 0x22e]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x448c93
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448c24
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push ebx
call edi
test eax, eax
je 0x448d88
push 0
lea eax, [esp + 0x10]
push eax
movsx eax, word [esp + 0x24]
push eax
push dword [esi + 0x22e]
push ebx
call edi
jmp 0x448cb5
mov ecx, dword [esp + 0x20]
push dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp dword [esp + 0x2c]
jmp 0x448a0e
mov eax, dword [esp + 0x44]
jmp 0x448abd
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esp + 0x28]
push eax
push ebx
call edi
jmp 0x448cb5
cmp ax, 9
jne 0x448cbd
mov edx, ebx
mov ecx, esi
call fcn.00457c40
test eax, eax
je 0x448d88
cmp word [esi + 0x18], 8
jne 0x448cd5
mov edx, ebx
mov ecx, esi
call fcn.0044cae0
test eax, eax
je 0x448d88
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jl 0x448d64
movsx ecx, ax
mov eax, dword [0x4ad9ac]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0xe0]
push 0
mov eax, dword [ecx + eax - 0x11b4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x7c]
push eax
push ebx
call edi
test eax, eax
je 0x448d88
movsx ecx, word [esi + 0x18]
mov eax, dword [0x4ad9b4]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
push 0
mov eax, dword [ecx + eax - 0x11dc]
test eax, eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esp + 0x37]
push eax
push ebx
setne byte [esp + 0x3f]
call edi
test eax, eax
je 0x448d88
cmp byte [esp + 0x2b], 0
je 0x448d64
push ebx
push esi
call dword [esp + 0x68]
test eax, eax
je 0x448d88
mov ecx, dword [0x4ad9b4]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], 0
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [ecx + 0x3c]
jl 0x4484d6
mov esi, dword [esp + 0x54]
push dword [esp + 0x38]
call fcn.0046d0ea
add esp, 4
push esi
call fcn.0046d0ea
add esp, 4
push dword [esp + 0x24]
call fcn.0046d0ea
add esp, 4
push dword [esp + 0x48]
call fcn.0046d0ea
add esp, 4
push dword [esp + 0x10]
call fcn.0046d0ea
add esp, 4
push dword [esp + 0x14]
call fcn.0046d0ea
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4493f5
mov esi, dword [0x4ad9b4]
mov eax, dword [esi + 0x3c]
add eax, eax
push eax
call fcn.0046d058
mov ecx, dword [esi + 0x1c]
xor edx, edx
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], edx
cmp dword [ecx + 0x2c], edx
jle 0x448ebb
mov eax, dword [esp + 0x14]
push 0
push edx
push dword [esi]
mov dword [esp + 0x1c], eax
call dword [sym.imp.MMFS2.dll_Ordinal_819]
mov esi, eax
test esi, esi
je 0x448e62
mov edi, dword [esp + 0x10]
mov ecx, dword [0x4ad9b4]
push esi
push dword [ecx]
call dword [sym.imp.MMFS2.dll_Ordinal_77]
cmp word [eax + 0x1a], 0
je 0x448e42
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [0x4ad9b4]
push 2
push esi
push dword [eax]
call dword [sym.imp.MMFS2.dll_Ordinal_820]
mov esi, eax
test esi, esi
jne 0x448e23
mov dword [esp + 0x10], edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub eax, esi
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push ebx
call edi
test eax, eax
je 0x44910e
push 0
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x2c]
push esi
push ebx
call edi
test eax, eax
je 0x44910e
mov esi, dword [0x4ad9b4]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0x1c]
inc edx
mov dword [esp + 0x30], edx
cmp edx, dword [eax + 0x2c]
jl 0x448e06
mov esi, dword [esp + 0x14]
push esi
call fcn.0046d0ea
add esp, 4
cmp dword [esp + 0x3c], 0
jne 0x4493f5
mov eax, dword [0x4ad9b4]
mov esi, dword [eax + 0x58]
mov ecx, esi
cmp word [ecx], 0xffff
je 0x448eef
add ecx, 0x92
cmp word [ecx], 0xffff
jne 0x448ee3
sub ecx, esi
mov eax, 0xe070381d
imul ecx
add edx, ecx
mov ecx, dword [0x4ad9b4]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, dword [ecx + 0x3c]
lea eax, [eax*2 + 2]
push eax
call fcn.0046d058
add esp, 4
cmp word [esi], 0xffff
mov dword [esp + 0x10], eax
mov edx, eax
je 0x448f8a
mov edi, 0xffff
mov edi, edi
movzx eax, word [esi + 6]
test ax, ax
js 0x448f6e
lea esp, [esp]
mov word [edx], ax
movzx ecx, ax
mov eax, dword [0x4ad9b4]
add edx, 2
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x448f6e
cmp word [eax + 0x1a], 0
jne 0x448f65
sub edx, 2
movzx eax, word [eax + 0x16]
test ax, ax
jns 0x448f40
mov word [edx], di
add esi, 0x92
add edx, 2
cmp word [esi], 0xffff
jne 0x448f30
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
sub edx, eax
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x2c], edx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x448fc9
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push ebx
call edi
test eax, eax
je 0x4493f5
push esi
call fcn.0046d0ea
mov eax, dword [0x4ad9ac]
add esp, 4
mov eax, dword [eax + 0x284]
mov dword [esp + 0x14], eax
push 0
test eax, eax
je 0x449162
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x30], esi
cmp dword [eax], esi
jle 0x449181
lea ebx, [ebx]
mov esi, dword [eax + esi*4 + 8]
test esi, esi
je 0x44914f
lea ecx, [esi + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449032
mov eax, dword [esi + 4]
imul eax, dword [esi]
sub ecx, edx
sar ecx, 1
push 0
lea eax, [eax + ecx*2]
add eax, 0xe
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x449086
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
push ebx
call edi
test eax, eax
je 0x4493f5
cmp dword [esi + 4], 0xc
jne 0x44914b
xor edx, edx
mov dword [esp + 0x24], edx
cmp dword [esi], edx
jle 0x44914b
mov edi, edi
lea ecx, [esi + 8]
lea eax, [ecx + 2]
mov dword [esp + 0x4c], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4490b0
mov eax, dword [esi + 4]
sub ecx, dword [esp + 0x4c]
imul eax, edx
sar ecx, 1
add eax, esi
push 0
mov edx, dword [eax + ecx*2 + 0xa]
mov dword [esp + 0x50], edx
test edx, edx
je 0x44911b
mov eax, dword [eax + ecx*2 + 0xe]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44913a
push 0
lea ecx, [esp + 0x10]
push ecx
add eax, eax
push eax
push dword [esp + 0x58]
jmp 0x44912f
mov dword [esp + 0x3c], 1
jmp 0x448ebf
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [esi]
jl 0x4490a0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
inc esi
mov dword [esp + 0x30], esi
cmp esi, dword [eax]
jl 0x449020
jmp 0x449181
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x2c], 0
call edi
test eax, eax
je 0x4493f5
mov eax, dword [0x4ad9b0]
mov edx, dword [eax + 0x80]
mov ecx, edx
movzx eax, word [ecx]
test ax, ax
je 0x4491a1
cwde
sub ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x449196
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x24]
push eax
sub ecx, edx
push ebx
mov dword [esp + 0x2c], ecx
call edi
test eax, eax
je 0x4493f5
cmp dword [esp + 0x18], 0
jbe 0x44929f
mov ecx, dword [0x4ad9b0]
mov esi, dword [ecx + 0x80]
mov dword [esp + 0x10], esi
cmp word [esi], 0
je 0x4492a5
push 0
lea eax, [esp + 0x10]
push eax
push 2
lea eax, [esi + 4]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esi + 8]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esi + 0xc]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov eax, dword [esp + 0x10]
add esi, 0x10
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
add ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x449288
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esi + 0xa]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea eax, [esi + 0xb]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
movsx eax, word [esi]
add esi, eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
test eax, eax
jg 0x449246
mov esi, dword [esp + 0x10]
movsx eax, word [esi]
sub esi, eax
mov dword [esp + 0x10], esi
cmp word [esi], 0
jne 0x4491e5
mov ecx, dword [0x4ad9b0]
xor eax, eax
cmp dword [ecx + 0x974], eax
push 0
setne al
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x78]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
cmp dword [esp + 0x6c], 0
je 0x4493de
mov eax, dword [0x4ad9b0]
xor edx, edx
mov eax, dword [eax + 0x974]
push edx
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 4]
cmp ecx, 0xd
cmove eax, edx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push eax
push 8
lea eax, [esp + 0x58]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
cmp dword [esp + 0x4c], 0xd
jne 0x4493de
mov eax, dword [0x4ad9b4]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + 0x978]
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
test esi, esi
je 0x449366
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [esp + 0x7c], eax
push 0
lea eax, [esp + 0x10]
push eax
push 0xc
lea eax, [esp + 0x80]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
test esi, esi
je 0x4493de
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x7c], ecx
jle 0x4493de
mov edi, edi
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0
call dword [eax + 0x18]
sub eax, 0
je 0x4493ab
dec eax
je 0x4493e2
dec eax
jne 0x4493ba
mov eax, dword [esi]
push dword [esp + 0x14]
mov ecx, esi
call dword [eax + 0x2c]
mov dword [esp + 0x10], eax
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push ebx
call edi
test eax, eax
je 0x4493f5
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x7c]
jl 0x449390
xor esi, esi
jmp 0x4493fa
mov eax, dword [esi]
push dword [esp + 0x14]
mov eax, dword [eax + 0x30]
mov ecx, esi
call eax
fstp dword [esp + 0x10]
jmp 0x4493ba
mov esi, 1
cmp dword [esp + 0x68], 0
jne 0x44940d
cmp ebx, 0xffffffff
je 0x44940d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x449459
push 0x100
lea eax, [esp + 0x84]
push eax
push 0x8c
push dword [0x4ad978]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x4ad9b4]
push 0x30
mov eax, dword [ecx + 0x4f4]
mov eax, dword [eax + 0x34]
push dword [eax + 0x80]
lea eax, [esp + 0x88]
push eax
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x44946b
mov ecx, dword [0x4ad9b4]
mov eax, dword [ecx + 0xd0]
mov dword [ecx + 0x43c], eax
mov ecx, dword [esp + 0x284]
xor eax, eax
test esi, esi
pop edi
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.0046d049
mov esp, ebp
pop ebp
ret