Function at 0x443c50
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4a6110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x26c], 0
cmp ebx, 0xffffffff
je 0x443c88
mov dword [ebp - 0x26c], 1
jmp 0x443cb0
lea eax, [ebp - 0x218]
push eax
call fcn.00443530
add esp, 4
test eax, eax
jne 0x443caa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468a6b
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x218]
push esi
mov esi, 1
cmp ebx, 0xffffffff
je 0x44550f
mov ecx, 0x4a5020
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443cc7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x214]
push eax
sub ecx, edx
push ecx
push 0x4a5020
push ebx
call edi
test eax, eax
je 0x44550e
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x24c]
push eax
push ebx
mov dword [ebp - 0x24c], 0x800b
call edi
test eax, eax
je 0x44550e
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x4f4]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + 0x80]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443d30
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x44550e
push 0
lea eax, [ebp - 0x214]
push eax
movzx eax, word [ebp - 0x24c]
push eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x4f4]
mov eax, dword [eax + 0x34]
push dword [eax + 0x80]
push ebx
call edi
test eax, eax
je 0x44550e
push 0
lea eax, [ebp - 0x214]
push eax
mov eax, dword [0x4a7b74]
push 4
add eax, 0x400
push eax
push ebx
call edi
test eax, eax
je 0x44550e
mov eax, dword [0x4a7b74]
push 0
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 0x1f0]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x24c]
push eax
push ebx
call edi
test eax, eax
je 0x44550e
push 0x68
call fcn.00467d2e
mov ecx, dword [0x4a7b74]
mov esi, eax
movzx ecx, byte [ecx + 0x26]
mov byte [esi], cl
mov ecx, dword [0x4a7b74]
add esp, 4
movzx ecx, byte [ecx + 0x27]
mov byte [esi + 1], cl
mov ecx, dword [0x4a7b74]
mov cx, word [ecx + 0x28]
mov word [esi + 2], cx
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0xb0]
mov dword [esi + 4], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0xb4]
mov dword [esi + 8], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0xd0]
mov dword [esi + 0xc], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0xd4]
mov dword [esi + 0x10], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [0x4a7b74]
mov ecx, dword [ecx + 0xd8]
sub ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x110]
mov dword [esi + 0x18], eax
mov eax, dword [0x4a7b74]
movzx eax, word [eax + 0x14c]
mov word [esi + 0x1c], ax
mov eax, dword [0x4a7b74]
movzx eax, word [eax + 0x18c]
mov word [esi + 0x1e], ax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x190]
mov dword [esi + 0x20], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x194]
mov dword [esi + 0x24], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x19c]
mov dword [esi + 0x28], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1a0]
mov dword [esi + 0x2c], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1b4]
mov dword [esi + 0x30], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1b8]
mov dword [esi + 0x34], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1bc]
mov dword [esi + 0x38], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c0]
mov dword [esi + 0x3c], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c4]
mov dword [esi + 0x40], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c8]
mov dword [esi + 0x44], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1cc]
mov dword [esi + 0x48], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1d0]
mov dword [esi + 0x4c], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x4d8]
mov dword [esi + 0x50], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x4dc]
mov dword [esi + 0x54], eax
mov eax, dword [0x4a7b74]
push 0
mov eax, dword [eax + 0x4e0]
mov dword [esi + 0x58], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x504]
mov dword [esi + 0x5c], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x508]
mov dword [esi + 0x60], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x50c]
mov dword [esi + 0x64], eax
lea eax, [ebp - 0x214]
push eax
push 0x68
push esi
push ebx
call edi
test eax, eax
je 0x445509
push esi
call fcn.00467cf6
push 0x2c
call fcn.00467d2e
mov ecx, dword [0x4a7b74]
mov esi, eax
mov ecx, dword [ecx + 0x1c]
add esp, 8
mov ecx, dword [ecx + 0x1c]
mov dword [esi], ecx
mov ecx, dword [0x4a7b74]
push 0
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esi + 4], ecx
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x24]
mov dword [esi + 8], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + 8]
mov dword [esi + 0x28], eax
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
movq xmm0, qword [eax + 0x34]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x3c]
lea eax, [ebp - 0x214]
push eax
push 0x2c
push esi
push ebx
movq qword [esi + 0x20], xmm0
call edi
test eax, eax
je 0x445509
push esi
call fcn.00467cf6
push 0x1c
call fcn.00467d2e
mov ecx, dword [0x4a7b74]
mov esi, eax
mov eax, dword [ecx + 0x1c]
add esp, 8
cmp dword [eax + 0x2c], 0
mov dword [ebp - 0x218], 0
jle 0x4440fb
xor edx, edx
mov dword [ebp - 0x23c], edx
lea ecx, [ecx]
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, [ebp - 0x214]
push eax
push 0x1c
push esi
push ebx
call edi
test eax, eax
je 0x4440fb
mov eax, dword [0x4a7b74]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x23c]
mov eax, dword [eax + 0x1c]
inc ecx
add edx, 0x60
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x23c], edx
cmp ecx, dword [eax + 0x2c]
jl 0x444090
push esi
call fcn.00467cf6
add esp, 4
lea eax, [ebp - 0x214]
push 0
push eax
mov eax, dword [0x4a7b74]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x25c]
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
mov eax, dword [0x4a7b74]
push 0x10
mov eax, dword [eax + 0x18]
push dword [eax + 0x258]
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
mov eax, dword [0x4a7b74]
push 4
mov eax, dword [eax + 0x18]
add eax, 0x264
push eax
push ebx
call edi
mov esi, 1
test eax, eax
je 0x44550e
mov eax, dword [0x4a7b74]
mov dword [ebp - 0x248], esi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x218], 0
cmp dword [eax + 0x264], 0
jle 0x4441ee
xor edx, edx
mov dword [ebp - 0x23c], edx
mov edi, edi
mov eax, dword [eax + 0x268]
add eax, edx
push eax
push ebx
call fcn.00443b80
mov esi, eax
add esp, 8
mov dword [ebp - 0x248], esi
test esi, esi
je 0x445509
mov eax, dword [0x4a7b74]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x23c]
mov eax, dword [eax + 0x18]
inc ecx
add edx, 0x10
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x23c], edx
cmp ecx, dword [eax + 0x264]
jl 0x4441a0
push 0
lea eax, [ebp - 0x214]
push eax
mov eax, dword [0x4a7b74]
push 4
mov eax, dword [eax + 0x18]
add eax, 0x278
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov edx, dword [0x4a7b74]
add edx, 0x18
xor ecx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x218], ecx
cmp dword [eax + 0x278], ecx
jle 0x4442ed
mov dword [ebp - 0x21c], 0
mov eax, dword [edx]
mov eax, dword [eax + 0x27c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x444274
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444255
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [ebp - 0x21c], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x21c]
push eax
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x248], esi
test esi, esi
je 0x445509
mov eax, dword [ebp - 0x21c]
test ax, ax
jle 0x4442c8
push 0
lea ecx, [ebp - 0x214]
push ecx
cwde
push eax
push dword [ebp - 0x22c]
push ebx
call edi
mov esi, eax
mov dword [ebp - 0x248], eax
test esi, esi
je 0x445509
mov edx, dword [0x4a7b74]
mov ecx, dword [ebp - 0x218]
mov eax, dword [edx + 0x18]
add edx, 0x18
inc ecx
mov dword [ebp - 0x218], ecx
cmp ecx, dword [eax + 0x278]
jl 0x444231
test esi, esi
je 0x445509
mov dword [ebp - 0x264], 0
call fcn.00435c60
test eax, eax
je 0x44431e
cmp word [eax + 2], 2
jb 0x444315
inc dword [ebp - 0x264]
call fcn.00436ed0
test eax, eax
jne 0x444308
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov eax, dword [0x4a7b74]
xor esi, esi
mov edx, dword [eax + 0x3c]
mov dword [ebp - 0x274], edx
mov ecx, dword [eax + 0x1278]
cmp dword [eax + 0x3c], esi
jle 0x444386
cmp dword [ecx], 0
jne 0x444368
jmp 0x444360
add ecx, 8
cmp dword [ecx], 0
je 0x444360
mov eax, dword [ecx]
add ecx, 8
cmp word [eax + 0x1a], 0
jne 0x44437b
dec edx
mov dword [ebp - 0x274], edx
mov eax, dword [0x4a7b74]
inc esi
cmp esi, dword [eax + 0x3c]
jl 0x444356
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x274]
push eax
push ebx
call edi
test eax, eax
je 0x445509
push 0x4c
call fcn.00467d2e
push 0x5c
mov dword [ebp - 0x23c], eax
call fcn.00467d2e
mov esi, eax
push 0x74
mov dword [ebp - 0x254], esi
call fcn.00467d2e
push 0x50
mov dword [ebp - 0x22c], eax
call fcn.00467d2e
push 0x24
mov dword [ebp - 0x234], eax
call fcn.00467d2e
push 0x50
mov dword [ebp - 0x218], eax
call fcn.00467d2e
mov ecx, dword [0x4a7b74]
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x21c], eax
mov eax, dword [ecx + 0x1278]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], edx
cmp dword [ecx + 0x3c], edx
jle 0x444dc2
lea ecx, [ecx]
cmp dword [eax], 0
jne 0x44442d
add eax, 8
cmp dword [eax], 0
je 0x444425
mov esi, dword [eax]
add eax, 8
cmp word [esi + 0x1a], 0
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x258], eax
je 0x444dac
movzx eax, word [esi]
mov ecx, dword [ebp - 0x23c]
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, [ebp - 0x214]
push eax
push 0x4c
push ecx
push ebx
mov dword [ebp - 0x250], 1
call edi
test eax, eax
je 0x444dbc
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x268], 0
mov dword [eax + 0x48], 0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x44452e
cmp dword [eax], 0
je 0x44451d
add eax, 4
cmp dword [eax], 0
jne 0x444515
sub ax, word [esi + 0x2c]
add ax, 4
movzx eax, ax
mov dword [ebp - 0x268], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x268]
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
mov eax, dword [ebp - 0x268]
test ax, ax
je 0x444571
push 0
lea ecx, [ebp - 0x214]
push ecx
movzx eax, ax
push eax
push dword [esi + 0x2c]
push ebx
call edi
test eax, eax
je 0x444dbc
test dword [esi + 0x78], 0x230
je 0x4446d5
mov eax, dword [esi + 0xc8]
mov ecx, dword [ebp - 0x254]
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 0x444662
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x44467e
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x254]
inc eax
mov dword [ecx + 0x58], eax
xor eax, eax
mov word [ecx], ax
cmp dword [esi + 0xc0], 0x42bb90
lea edx, [eax + 1]
jne 0x444695
mov word [ecx], dx
xor eax, eax
mov word [ecx + 2], ax
mov eax, dword [esi + 0xc4]
cmp eax, 0x42bb10
jne 0x4446ae
mov word [ecx + 2], dx
jmp 0x4446be
cmp eax, 0x42bb90
jne 0x4446be
mov eax, 2
mov word [ecx + 2], ax
push 0
lea eax, [ebp - 0x214]
push eax
push 0x5c
push ecx
push ebx
call edi
test eax, eax
je 0x444dbc
test byte [esi + 0x78], 0x10
je 0x4447d1
mov eax, dword [esi + 0x130]
mov edx, dword [ebp - 0x22c]
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 [ebp - 0x244]
mov eax, dword [esi + 0xcc]
cmp eax, 5
je 0x44477e
cmp eax, 9
je 0x444762
cmp eax, 0xd
jne 0x44478d
cmp dword [edx + 0x24], 0
mov dword [edx + 0x20], 0xffffffff
je 0x44478d
mov eax, dword [edx + 0x28]
movsx eax, word [eax]
mov dword [edx + 0x28], eax
jmp 0x44478d
mov eax, dword [esi + 0x1b2]
test eax, eax
je 0x444775
movsx eax, word [eax]
inc eax
mov dword [edx + 0x58], eax
jmp 0x44478d
mov dword [edx + 0x58], 0
jmp 0x44478d
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, [ebp - 0x214]
push eax
push 0x74
push edx
push ebx
call edi
test eax, eax
je 0x444dbc
cmp dword [esi + 0xcc], 0xe
jne 0x4447d1
mov ecx, dword [esi + 0xd0]
test ecx, ecx
je 0x4447d1
mov eax, dword [ecx]
push ebx
push 0x1010
push esi
call dword [eax + 0x54]
test eax, eax
je 0x444dbc
test byte [esi + 0x78], 0x20
je 0x444857
mov edx, dword [esi + 0xb8]
mov edi, dword [ebp - 0x234]
add edx, esi
mov ecx, 0x14
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x244]
mov ecx, dword [edx + 0x14]
mov edi, dword [esi + 0x44]
test ecx, ecx
je 0x444817
movzx eax, word [edi + 6]
sub ecx, eax
mov eax, dword [ebp - 0x234]
sub ecx, edi
mov dword [eax + 0x14], ecx
mov ecx, eax
jmp 0x444824
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 0x14], 0
mov eax, dword [edx + 0x20]
test eax, eax
je 0x444833
sub eax, dword [edx + 0x14]
mov dword [ecx + 0x20], eax
jmp 0x44483a
mov dword [ecx + 0x20], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x50
push ecx
push ebx
call edi
test eax, eax
je 0x444dbc
test dword [esi + 0x78], 0x200
je 0x4449ee
mov eax, dword [esi + 0xbc]
mov ecx, dword [ebp - 0x218]
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 [ebp - 0x228], eax
jne 0x4448bf
mov eax, 0xffbf
and word [ecx + 0x20], ax
mov dword [ecx + 0x1c], 0
push 0
lea eax, [ebp - 0x214]
push eax
push 0x24
push ecx
push ebx
call edi
test eax, eax
je 0x444dbc
mov eax, dword [ebp - 0x218]
cmp word [eax + 0x18], 0xd
jne 0x4449ee
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x208], 0
test ecx, ecx
je 0x44493c
mov eax, dword [ecx]
call dword [eax + 0x54]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x210], eax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x20c], eax
mov eax, dword [ecx]
call dword [eax + 0x28]
mov dword [ebp - 0x208], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
mov ecx, dword [ebp - 0x228]
test ecx, ecx
je 0x4449ee
xor edx, edx
mov dword [ebp - 0x224], edx
cmp dword [ebp - 0x208], edx
jle 0x4449ee
jmp 0x444980
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x238], 0
call dword [eax + 0x18]
sub eax, 0
je 0x44499f
dec eax
je 0x444c7d
dec eax
jne 0x4449b6
mov ecx, dword [ebp - 0x228]
push dword [ebp - 0x224]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebp - 0x238], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x238]
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
inc edx
mov dword [ebp - 0x224], edx
cmp edx, dword [ebp - 0x208]
jl 0x444980
test dword [esi + 0x78], 0x100
je 0x444b8e
mov eax, dword [esi + 0x80]
push 0
add eax, esi
lea ecx, [ebp - 0x214]
push ecx
mov dword [ebp - 0x224], eax
push 4
add eax, 4
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x238], 0
cmp dword [edx + 4], 0
mov ecx, dword [edx]
mov dword [ebp - 0x228], ecx
jle 0x444c9b
push ecx
push ebx
call fcn.00443b80
add esp, 8
test eax, eax
je 0x444dbc
mov edx, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x224]
inc edx
add ecx, 0x10
cmp edx, dword [esi + 4]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x228], ecx
jl 0x444a45
mov edx, dword [ebp - 0x224]
test eax, eax
je 0x444dbc
lea ecx, [edx + 0x86]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], ecx
jmp 0x444ab0
mov eax, dword [ecx]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x260], eax
test eax, eax
je 0x444aef
mov ecx, eax
lea edx, [ecx + 2]
jmp 0x444ad0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444ad0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [ebp - 0x244], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x244]
push eax
push ebx
call edi
mov dword [ebp - 0x248], eax
test eax, eax
je 0x444dbc
mov ecx, dword [ebp - 0x244]
test cx, cx
jle 0x444b41
push 0
lea eax, [ebp - 0x214]
push eax
movsx eax, cx
push eax
push dword [ebp - 0x260]
push ebx
call edi
mov dword [ebp - 0x248], eax
test eax, eax
je 0x444dbc
mov edx, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x228]
inc edx
add ecx, 4
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x228], ecx
cmp edx, 0xa
jl 0x444ab0
test eax, eax
je 0x444dbc
push 0
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x224]
push 4
add eax, 0x68
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
movzx eax, word [esi + 0x18]
cmp ax, 3
je 0x444bba
cmp ax, 4
je 0x444bba
cmp ax, 5
je 0x444bba
cmp ax, 6
je 0x444bba
cmp ax, 7
je 0x444bba
cmp ax, 9
jne 0x444cd5
push 0x50
lea eax, [esi + 0x1f2]
push eax
push dword [ebp - 0x21c]
call fcn.0046cea0
mov eax, dword [ebp - 0x21c]
add esp, 0xc
cmp word [esi + 0x18], 9
jne 0x444be5
mov dword [eax + 4], 0
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0x50
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
movzx eax, word [esi + 0x18]
cmp ax, 3
jne 0x444cbd
mov ecx, dword [esi + 0x22e]
mov dword [ebp - 0x224], 0
test ecx, ecx
je 0x444ca6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444c25
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx*2 + 2]
movzx eax, ax
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x224]
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
push 0
lea eax, [ebp - 0x214]
push eax
movsx eax, word [ebp - 0x224]
push eax
push dword [esi + 0x22e]
push ebx
call edi
jmp 0x444ccd
mov ecx, dword [ebp - 0x228]
push dword [ebp - 0x224]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp dword [ebp - 0x238]
jmp 0x4449b6
mov eax, dword [ebp - 0x248]
jmp 0x444a8a
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [ebp - 0x224]
push eax
push ebx
call edi
jmp 0x444ccd
cmp ax, 9
jne 0x444cd5
push ebx
push esi
call fcn.00450790
add esp, 8
test eax, eax
je 0x444dbc
cmp word [esi + 0x18], 8
jne 0x444ceb
push ebx
push esi
call fcn.00448130
test eax, eax
je 0x444dbc
movzx eax, word [esi + 0x18]
cmp ax, 0x20
jl 0x444d90
movsx ecx, ax
mov eax, dword [0x4a7b6c]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0xe0]
push 0
mov eax, dword [ecx + eax - 0x11b4]
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x278]
push eax
push ebx
call edi
test eax, eax
je 0x444dbc
movsx ecx, word [esi + 0x18]
mov eax, dword [0x4a7b74]
imul ecx, ecx, 0x92
mov eax, dword [eax + 0x1d4]
push 0
mov eax, dword [ecx + eax - 0x11dc]
test eax, eax
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x214]
push eax
push 1
lea eax, [ebp - 0x22d]
push eax
push ebx
setne byte [ebp - 0x22d]
call edi
test eax, eax
je 0x444dbc
cmp byte [ebp - 0x22d], 0
je 0x444d90
push ebx
push esi
call dword [ebp - 0x260]
test eax, eax
je 0x444dbc
mov ecx, dword [0x4a7b74]
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x250], 0
inc edx
mov dword [ebp - 0x240], edx
cmp edx, dword [ecx + 0x3c]
jl 0x444420
mov esi, dword [ebp - 0x254]
push dword [ebp - 0x23c]
call fcn.00467cf6
push esi
call fcn.00467cf6
push dword [ebp - 0x22c]
call fcn.00467cf6
push dword [ebp - 0x234]
call fcn.00467cf6
push dword [ebp - 0x218]
call fcn.00467cf6
push dword [ebp - 0x21c]
call fcn.00467cf6
add esp, 0x18
cmp dword [ebp - 0x250], 0
jne 0x445509
mov esi, dword [0x4a7b74]
mov eax, dword [esi + 0x3c]
add eax, eax
push eax
call fcn.00467d2e
mov ecx, dword [esi + 0x1c]
xor edx, edx
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x240], edx
cmp dword [ecx + 0x2c], edx
jle 0x444f1a
lea ecx, [ecx]
push 0
push edx
push dword [esi]
mov dword [ebp - 0x218], eax
call sub.MMFS2.dll_Ordinal_819
mov esi, eax
test esi, esi
je 0x444e9f
mov edi, dword [ebp - 0x218]
lea esp, [esp]
mov ecx, dword [0x4a7b74]
push esi
push dword [ecx]
call sub.MMFS2.dll_Ordinal_77
cmp word [eax + 0x1a], 0
je 0x444e7e
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [0x4a7b74]
push 2
push esi
push dword [eax]
call sub.MMFS2.dll_Ordinal_820
mov esi, eax
test esi, esi
jne 0x444e60
mov dword [ebp - 0x218], edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x218]
mov esi, dword [ebp - 0x234]
sub eax, esi
push 0
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x22c]
push eax
push ebx
call edi
test eax, eax
je 0x444f0a
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x22c]
push esi
push ebx
call edi
test eax, eax
je 0x444f0a
mov esi, dword [0x4a7b74]
mov edx, dword [ebp - 0x240]
mov eax, dword [esi + 0x1c]
inc edx
cmp edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x240], edx
jl 0x444e40
jmp 0x444f14
mov dword [ebp - 0x250], 1
mov eax, dword [ebp - 0x234]
push eax
call fcn.00467cf6
add esp, 4
cmp dword [ebp - 0x250], 0
jne 0x445509
mov eax, dword [0x4a7b74]
mov esi, dword [eax + 0x58]
mov ecx, esi
cmp word [ecx], 0xffff
je 0x444f4c
add ecx, 0x92
cmp word [ecx], 0xffff
jne 0x444f40
sub ecx, esi
mov eax, 0xe070381d
imul ecx
add edx, ecx
mov ecx, dword [0x4a7b74]
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.00467d2e
add esp, 4
cmp word [esi], 0xffff
mov dword [ebp - 0x218], eax
mov edx, eax
je 0x444fec
mov edi, 0xffff
lea ecx, [ecx]
movzx eax, word [esi + 6]
test ax, ax
js 0x444fce
lea esp, [esp]
mov word [edx], ax
movzx ecx, ax
mov eax, dword [0x4a7b74]
add edx, 2
mov eax, dword [eax + 0x1278]
mov eax, dword [eax + ecx*8]
test eax, eax
je 0x444fce
cmp word [eax + 0x1a], 0
jne 0x444fc5
sub edx, 2
movzx eax, word [eax + 0x16]
test ax, ax
jns 0x444fa0
mov word [edx], di
add esi, 0x92
add edx, 2
cmp word [esi], 0xffff
jne 0x444f90
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x218]
sub edx, eax
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
mov dword [ebp - 0x220], edx
call edi
test eax, eax
je 0x445509
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x218]
test eax, eax
je 0x445037
push 0
lea ecx, [ebp - 0x214]
push ecx
push eax
push esi
push ebx
call edi
test eax, eax
je 0x445509
push esi
call fcn.00467cf6
mov eax, dword [0x4a7b6c]
add esp, 4
mov eax, dword [eax + 0x284]
mov dword [ebp - 0x21c], eax
push 0
test eax, eax
je 0x4451f5
mov eax, dword [eax]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov eax, dword [ebp - 0x21c]
xor esi, esi
mov dword [ebp - 0x240], esi
cmp dword [eax], esi
jle 0x44521a
mov esi, dword [eax + esi*4 + 8]
test esi, esi
je 0x4451de
lea ecx, [esi + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4450a6
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 [ebp - 0x220], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x445104
push 0
lea ecx, [ebp - 0x214]
push ecx
push eax
push esi
push ebx
call edi
test eax, eax
je 0x445509
cmp dword [esi + 4], 0xc
jne 0x4451d8
xor edx, edx
mov dword [ebp - 0x22c], edx
cmp dword [esi], edx
jle 0x4451d8
mov edi, edi
lea ecx, [esi + 8]
lea eax, [ecx + 2]
mov dword [ebp - 0x258], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445130
mov eax, dword [esi + 4]
sub ecx, dword [ebp - 0x258]
imul eax, edx
sar ecx, 1
add eax, esi
push 0
mov edx, dword [eax + ecx*2 + 0xa]
mov dword [ebp - 0x258], edx
test edx, edx
je 0x44519e
mov eax, dword [eax + ecx*2 + 0xe]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4451c3
push 0
lea ecx, [ebp - 0x214]
push ecx
add eax, eax
push eax
push dword [ebp - 0x258]
jmp 0x4451b8
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov edx, dword [ebp - 0x22c]
inc edx
mov dword [ebp - 0x22c], edx
cmp edx, dword [esi]
jl 0x445120
mov eax, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x240]
inc esi
mov dword [ebp - 0x240], esi
cmp esi, dword [eax]
jl 0x445094
jmp 0x44521a
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push ebx
mov dword [ebp - 0x220], 0
call edi
test eax, eax
je 0x445509
mov eax, dword [0x4a7b70]
mov edx, dword [eax + 0x80]
mov ecx, edx
movzx eax, word [ecx]
test ax, ax
je 0x44523b
nop
cwde
sub ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x445230
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
sub ecx, edx
push ebx
mov dword [ebp - 0x220], ecx
call edi
test eax, eax
je 0x445509
cmp dword [ebp - 0x220], 0
jbe 0x44537a
mov ecx, dword [0x4a7b70]
mov esi, dword [ecx + 0x80]
mov dword [ebp - 0x218], esi
cmp word [esi], 0
je 0x445380
lea esp, [esp]
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [esi + 4]
push eax
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [esi + 6]
push eax
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [esi + 8]
push eax
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
push 2
lea eax, [esi + 0xa]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov eax, dword [ebp - 0x218]
add esi, 0xe
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
add ecx, eax
mov dword [ebp - 0x22c], ecx
test ecx, ecx
jle 0x44535f
push 0
lea eax, [ebp - 0x214]
push eax
push 1
lea eax, [esi + 0xa]
push eax
push ebx
call edi
test eax, eax
je 0x445509
push 0
lea eax, [ebp - 0x214]
push eax
push 1
lea eax, [esi + 0xb]
push eax
push ebx
call edi
test eax, eax
je 0x445509
movsx eax, word [esi]
add esi, eax
mov eax, dword [ebp - 0x22c]
dec eax
mov dword [ebp - 0x22c], eax
test eax, eax
jg 0x445315
mov esi, dword [ebp - 0x218]
movsx eax, word [esi]
sub esi, eax
mov dword [ebp - 0x218], esi
cmp word [esi], 0
jne 0x445290
mov ecx, dword [0x4a7b70]
xor eax, eax
cmp dword [ecx + 0x974], eax
push 0
setne al
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x270]
push eax
push ebx
call edi
test eax, eax
je 0x445509
cmp dword [ebp - 0x270], 0
je 0x4454ee
mov eax, dword [0x4a7b70]
xor edx, edx
mov eax, dword [eax + 0x974]
push edx
mov ecx, dword [eax]
mov dword [ebp - 0x25c], ecx
mov eax, dword [eax + 4]
cmp ecx, 0xd
cmove eax, edx
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x214]
push eax
push 8
lea eax, [ebp - 0x25c]
push eax
push ebx
call edi
test eax, eax
je 0x445509
cmp dword [ebp - 0x25c], 0xd
jne 0x4454ee
mov eax, dword [0x4a7b74]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + 0x978]
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x208], 0
test esi, esi
je 0x44545f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov dword [ebp - 0x210], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov dword [ebp - 0x20c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
mov dword [ebp - 0x208], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
call edi
test eax, eax
je 0x445509
test esi, esi
je 0x4454ee
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
cmp dword [ebp - 0x208], ecx
jle 0x4454ee
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 0x218], 0
call dword [eax + 0x18]
sub eax, 0
je 0x4454ad
dec eax
je 0x4454f2
dec eax
jne 0x4454c0
mov eax, dword [esi]
push dword [ebp - 0x21c]
mov ecx, esi
call dword [eax + 0x2c]
mov dword [ebp - 0x218], eax
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x218]
push eax
push ebx
call edi
test eax, eax
je 0x445509
mov ecx, dword [ebp - 0x21c]
inc ecx
mov dword [ebp - 0x21c], ecx
cmp ecx, dword [ebp - 0x208]
jl 0x445490
xor esi, esi
jmp 0x44550e
mov eax, dword [esi]
push dword [ebp - 0x21c]
mov eax, dword [eax + 0x30]
mov ecx, esi
call eax
fstp dword [ebp - 0x218]
jmp 0x4454c0
mov esi, 1
pop edi
cmp dword [ebp - 0x26c], 0
jne 0x445524
cmp ebx, 0xffffffff
je 0x445524
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x44556e
push 0x100
lea eax, [ebp - 0x204]
push eax
push 0x8c
push dword [0x4a7b38]
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x4a7b74]
push 0x30
mov eax, dword [ecx + 0x4f4]
mov eax, dword [eax + 0x34]
push dword [eax + 0x80]
lea eax, [ebp - 0x204]
push eax
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x445580
mov ecx, dword [0x4a7b74]
mov eax, dword [ecx + 0xd0]
mov dword [ecx + 0x43c], eax
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.00468a6b
mov esp, ebp
pop ebp
ret