Function at 0x403f50
Capabilities:
Check os version
Encode data using xor
Get geographical location

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4380
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x208
mov eax, dword [0x4efca4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1ac], edx
mov edi, ecx
mov eax, dword [ebx + 8]
push 1
push 0x414
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x188], 0
call fcn.0049277a
mov esi, eax
add esp, 8
mov dword [ebp - 0x16c], esi
test esi, esi
jne 0x404019
call fcn.004aefaf
push 1
push 0x414
call fcn.0049277a
add esp, 8
mov dword [ebp - 0x16c], eax
mov esi, eax
mov dword [ebp - 0x1a8], esi
test esi, esi
je 0x405fc3
mov ecx, dword [0x4f3c00]
test ecx, ecx
jne 0x40407a
push 1
push 0x28
call fcn.0049277a
add esp, 8
test eax, eax
jne 0x404052
call fcn.004aefaf
push 1
push 0x28
call fcn.0049277a
add esp, 8
mov dword [0x4f3c08], eax
test eax, eax
je 0x4040ee
mov ecx, dword [0x4f3c00]
mov dword [0x4f3c04], 0xa
mov dword [eax + ecx*4], esi
inc dword [0x4f3c00]
jmp 0x4040ee
mov eax, dword [0x4f3c04]
cmp ecx, eax
jl 0x4040d8
lea esi, [eax*4 + 0x28]
push esi
push dword [0x4f3c08]
call fcn.00492785
add esp, 8
test eax, eax
jne 0x4040b5
call fcn.004aefaf
push esi
push dword [0x4f3c08]
call fcn.00492785
add esp, 8
test eax, eax
je 0x4040e8
mov ecx, dword [0x4f3c00]
add dword [0x4f3c04], 0xa
mov esi, dword [ebp - 0x16c]
mov dword [0x4f3c08], eax
mov dword [eax + ecx*4], esi
inc dword [0x4f3c00]
jmp 0x4040ee
mov eax, dword [0x4f3c08]
mov dword [eax + ecx*4], esi
inc dword [0x4f3c00]
jmp 0x4040ee
mov esi, dword [ebp - 0x16c]
mov ecx, esi
call fcn.00403200
mov ecx, dword [0x4f3be4]
add ecx, 0x168
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1b8], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_255]
mov eax, dword [0x4f3be4]
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18c], 0
mov dword [eax + 0xfc], 0xffffffff
mov eax, dword [0x4f3be4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [0x4f3be4]
mov dword [eax + 0x104], 0xffffffff
mov eax, dword [0x4f3be4]
mov dword [eax + 0x108], 0xffffffff
mov eax, dword [0x4f3be4]
mov dword [eax + 0x1f0], 0xffffffff
mov eax, dword [0x4f3be4]
mov dword [eax + 0x1a8], ecx
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3c0], 0
mov eax, dword [0x4f3be4]
mov byte [eax + 0x3ec], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3d8], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3dc], 3
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3f4], 0x4310f0
test edx, edx
je 0x404267
mov eax, dword [0x4f3be4]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x1b0], ecx
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x1b0]
shr eax, 1
and eax, 1
mov dword [ecx + 0x244], eax
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x1b0]
shr eax, 2
and eax, 1
mov dword [ecx + 0x248], eax
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x24c], eax
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x250], eax
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x1b0]
shr eax, 0x13
and eax, 1
mov dword [ecx + 0x240], eax
test byte [0x4f3bcc], 0x10
je 0x404267
test dword [edx + 0x10], 0x4100020
jne 0x404267
mov dword [esi + 0x3d4], 2
mov eax, dword [0x4f3be4]
xor esi, esi
mov dword [ebp - 0x154], esi
mov dword [eax + 0x9c], 0xffffffff
test edi, edi
jne 0x4042a4
mov edi, dword [0x4f3bfc]
mov esi, dword [0x4f1b54]
mov dword [ebp - 0x154], esi
test edi, edi
je 0x405fad
test esi, esi
je 0x405fad
push 0
push edi
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov ecx, eax
mov eax, dword [0x4f3be4]
mov dword [eax + 0x9c], ecx
cmp ecx, 0xffffffff
jne 0x4042cd
lea esi, [ecx + 5]
mov dword [0x4f39d0], edi
jmp 0x405f93
test esi, esi
je 0x404387
cmp dword [ebp - 0x168], 0
jne 0x404375
cmp dword [0x4f3978], 0
jne 0x404375
push 2
push 0x2624a0
call fcn.0049277a
add esp, 8
mov dword [0x4f3978], eax
push 0x104
push eax
push dword [0x4f3bb0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push dword [0x4f3978]
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
je 0x404375
push 0x100
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_430]
push 0x2624a0
push dword [0x4f3978]
push dword [ebp - 0x17c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
push dword [ebp - 0x17c]
mov esi, eax
call dword [sym.imp.MMFS2.dll_Ordinal_419]
test esi, esi
je 0x40436f
cmp esi, 0x40000002
jne 0x405f42
mov esi, dword [ebp - 0x154]
mov eax, dword [0x4f3be4]
push esi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4f3be4]
push 0x10
mov dword [eax + 0x84], edi
mov eax, dword [0x4f3be4]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
mov dword [eax + 0xa0], esi
mov eax, dword [0x4f3be4]
mov dword [eax + 0x3a0], 0
mov eax, dword [ebp - 0x16c]
push eax
push dword [eax + 0x9c]
call edi
mov esi, eax
test esi, esi
jne 0x405f91
mov eax, dword [0x4f3be4]
mov ecx, dword [eax]
cmp ecx, 0x454d4150
jne 0x4043e5
mov byte [eax + 0x3c4], 0
jmp 0x4043f8
cmp ecx, 0x554d4150
jne 0x405f8a
mov byte [eax + 0x3c4], 1
mov eax, dword [0x4f3be4]
mov ecx, 0x302
cmp word [eax + 4], cx
je 0x404412
mov esi, 0x13
jmp 0x405f93
cmp dword [ebp - 0x168], 0
jne 0x40442b
cmp dword [eax + 8], 3
je 0x40442b
mov esi, 0x13
jmp 0x405f93
xor ecx, ecx
mov word [ebp - 0x164], cx
push 8
lea ecx, [ebp - 0x164]
push ecx
push dword [eax + 0x9c]
call edi
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
cmp dword [ebp - 0x160], eax
je 0x405a1d
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov edi, eax
add edi, dword [ebp - 0x160]
mov dword [ebp - 0x1b8], edi
movzx edi, word [ebp - 0x164]
cmp edi, 0x3333
ja 0x4057d6
je 0x40558a
sub edi, 0x2223
cmp edi, 0x37
ja case.0x4044b5.8741
movzx eax, byte [edi + 0x406060]
jmp dword [eax*4 + 0x405fe8]
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push 0
lea eax, [ecx + 0x3a0]
push eax
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 0x9c]
push 0x70
push eax
call fcn.0042ab40
mov edi, dword [ebp - 0x168]
mov esi, eax
mov ecx, dword [0x4f3be4]
add esp, 0x10
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test edi, edi
jne 0x404519
mov eax, 0x200
test word [ecx + 0x16], ax
je 0x404519
mov eax, 1
mov word [0x4f3d5c], ax
lea edx, [ecx + 0xd0]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.004355f0
test eax, eax
je 0x4045a3
mov ecx, dword [0x4f3be4]
test byte [ecx + 0x16], 4
jne 0x40454b
lea edx, [ecx + 0xd4]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.004355f0
push 1
push 0x100
call fcn.0049277a
mov ecx, dword [0x4f3be4]
add esp, 8
mov dword [ecx + 0x26c], eax
test edi, edi
jne 0x404588
mov ecx, dword [0x4f3970]
test ecx, ecx
je 0x404588
mov eax, dword [0x4f3be4]
mov edx, 0x800
test word [eax + 0x16], dx
jne 0x404588
push 1
call ecx
mov eax, dword [0x4f3be4]
test byte [eax + 0x14], 0x10
je 0x4059b9
mov byte [eax + 0x3d0], 1
jmp 0x4059b9
mov esi, 8
jmp 0x405f2f
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push 0
push 0
push 4
lea eax, [ecx + 0x3c0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ab40
add esp, 0x10
mov esi, eax
jmp 0x4059ad
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push 0
push 0
push 4
lea eax, [ecx + 0x3e8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ab40
mov edi, dword [0x4f3be4]
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x154], edi
cmp byte [edi + 0x3ec], 0
je 0x40463a
push dword [edi + 0x3f0]
call fcn.004934fe
add esp, 4
mov byte [edi + 0x3ec], 0
mov eax, dword [edi + 0x3e8]
xor ecx, ecx
mov word [ebp - 0x100], cx
test eax, eax
je 0x404708
push ecx
push ecx
movzx edi, ax
push 0x59
push edi
mov dword [ebp - 0x158], edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 0x63
jge 0x404702
push eax
lea eax, [ebp - 0x100]
push eax
push 0x59
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edi, [ebp - 0x100]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x404690
mov eax, dword [0x4df3d0]
mov dword [edi], eax
lea edi, [ebp - 0x100]
lea ecx, [edi + 2]
nop dword [eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4046b0
push 0
push 0
push 0x5a
push dword [ebp - 0x158]
sub edi, ecx
sar edi, 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, eax
mov eax, 0x63
sub eax, edi
cmp ecx, eax
jge 0x4046f9
push ecx
lea eax, [ebp - 0x100]
lea eax, [eax + edi*2]
push eax
push 0x5a
push dword [ebp - 0x158]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x404702
xor eax, eax
mov word [ebp - 0x100], ax
mov edi, dword [ebp - 0x154]
lea ecx, [ebp - 0x100]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404711
sub ecx, edx
sar ecx, 1
je 0x4059b9
lea eax, [ebp - 0x100]
push eax
push 0
call fcn.00493653
add esp, 8
mov dword [edi + 0x3f0], eax
mov byte [edi + 0x3ec], 1
jmp 0x4059b9
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0x80]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
add esp, 0xc
mov esi, eax
jmp 0x4059ad
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0x8c]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
add esp, 0xc
mov esi, eax
jmp 0x4059ad
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x90]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
cmp byte [eax + 0x3c4], 0
jne 0x4059b9
lea ecx, [eax + 0x90]
call fcn.00403b60
jmp 0x4059b9
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
mov dword [ebp - 0x1b0], 1
lea eax, [ecx + 0x88]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov edi, dword [eax + 0x26c]
test edi, edi
je 0x404988
push dword [eax + 0x80]
mov edx, edi
mov byte [ebp - 0x15a], 0
mov ecx, eax
mov byte [ebp - 0x159], 0
call fcn.00403c90
mov eax, dword [ebp - 0x16c]
add esp, 4
mov edx, edi
mov ecx, eax
push dword [eax + 0x8c]
call fcn.00403c90
mov eax, dword [ebp - 0x16c]
add esp, 4
mov edx, edi
mov ecx, eax
push dword [eax + 0x88]
call fcn.00403c90
add esp, 4
lea eax, [edi + 0x80]
push 0x80
push 0
push eax
call fcn.00489e90
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4048b2
sub ecx, edx
mov dh, 0x36
mov byte [ebp - 0x1bc], dh
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x158], eax
cmp eax, 2
jl 0x40494c
lea esi, [eax - 2]
shr esi, 1
inc esi
lea eax, [esi + esi]
mov dword [ebp - 0x174], eax
mov dl, dh
shr dh, 1
shl dl, 7
add dl, dh
xor byte [edi], dl
mov cl, dl
movzx eax, byte [edi]
and cl, 1
add cl, 2
mov dh, dl
movzx ecx, cl
imul ecx, eax
shr dl, 1
shl dh, 7
add dh, dl
mov dl, byte [ebp - 0x159]
xor byte [edi + 1], dh
add byte [ebp - 0x15a], cl
mov cl, dh
movzx eax, byte [edi + 1]
and cl, 1
add cl, 2
add edi, 2
movzx ecx, cl
imul ecx, eax
add dl, cl
mov byte [ebp - 0x159], dl
sub esi, 1
jne 0x4048e2
mov esi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x174]
jmp 0x40494e
mov dl, cl
cmp ecx, eax
jge 0x404972
mov cl, dh
shr dh, 1
shl cl, 7
add cl, dh
xor byte [edi], cl
and cl, 1
movzx eax, byte [edi]
add cl, 2
movzx ecx, cl
imul ecx, eax
add cl, 0x36
inc edi
jmp 0x404978
mov ecx, dword [ebp - 0x1bc]
add dl, byte [ebp - 0x15a]
mov eax, dword [ebp - 0x16c]
add dl, cl
mov byte [edi], dl
cmp byte [eax + 0x3c4], 0
jne 0x4059b9
cmp dword [eax + 0x80], 0
lea ecx, [eax + 0x80]
je 0x4049af
call fcn.00403b60
mov eax, dword [ebp - 0x16c]
cmp dword [eax + 0x8c], 0
lea ecx, [eax + 0x8c]
je 0x4049c9
call fcn.00403b60
mov eax, dword [ebp - 0x16c]
cmp dword [eax + 0x88], 0
lea ecx, [eax + 0x88]
je 0x4059b9
call fcn.00403b60
jmp 0x4059b9
cmp dword [ebp - 0x1b0], 0
jne 0x404a13
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
sub eax, 8
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x1b4], eax
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0x94]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
cmp byte [eax + 0x3c4], 0
jne 0x4059b9
lea ecx, [eax + 0x94]
call fcn.00403b60
jmp 0x4059b9
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xa4]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
cmp byte [eax + 0x3c4], 0
jne 0x4059b9
lea ecx, [eax + 0xa4]
call fcn.00403b60
jmp 0x4059b9
cmp dword [ebp - 0x168], 0
je case.0x4044b5.8741
cmp dword [ebx + 0x10], 0
jge case.0x4044b5.8741
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0xa8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
mov ecx, dword [0x4f3be4]
mov ecx, dword [ecx + 0xa8]
call fcn.00403a90
mov ecx, dword [0x4f3be4]
mov dword [ecx + 0xac], eax
jmp case.0x4044b5.8741
mov eax, dword [0x4f3be4]
mov dword [eax + 0x260], 0
mov ecx, dword [0x4f3be4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x260]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x164]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
jmp case.0x4044b5.8741
mov eax, dword [0x4f3be4]
lea edx, [ebp - 0x164]
mov dword [eax + 0x274], 0
mov ecx, dword [0x4f3be4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x274]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x158], eax
cmp byte [eax + 0x3c4], 0
jne case.0x4044b5.8741
mov edi, dword [eax + 0x274]
test edi, edi
je case.0x4044b5.8741
cmp dword [edi], esi
je case.0x4044b5.8741
mov ecx, dword [edi]
mov eax, 4
add edi, eax
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x154], eax
test ecx, ecx
jle 0x404c62
mov esi, ecx
nop word [eax + eax]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x154]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x154], ecx
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404c45
sub ecx, edx
inc edi
add edi, ecx
sub esi, 1
jne 0x404c20
mov esi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x154]
push 1
push eax
call fcn.0049277a
mov edx, dword [ebp - 0x158]
mov ecx, eax
mov eax, dword [ebp - 0x174]
add esp, 8
mov dword [ebp - 0x194], ecx
mov dword [ecx], eax
add ecx, 4
mov edx, dword [edx + 0x274]
mov dword [ebp - 0x154], ecx
lea edi, [edx + 4]
test eax, eax
jle 0x404cef
mov esi, ecx
nop dword [eax + eax]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, edi
lea esi, [esi + eax*2]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404cc8
sub ecx, edx
inc edi
add edi, ecx
sub dword [ebp - 0x174], 1
jne 0x404ca0
mov eax, dword [ebp - 0x158]
mov esi, dword [ebp - 0x14c]
mov edx, dword [eax + 0x274]
push edx
call fcn.00492790
mov eax, dword [ebp - 0x158]
add esp, 4
mov ecx, dword [ebp - 0x194]
mov dword [eax + 0x274], ecx
jmp case.0x4044b5.8741
cmp dword [ebp - 0x168], 0
jne case.0x4044b5.8741
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0xc0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
add esp, 0xc
mov esi, eax
jmp 0x4059ad
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0xbc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
add esp, 0xc
mov esi, eax
jmp 0x4059ad
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0x3bc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
add esp, 0xc
mov esi, eax
jmp 0x4059ad
cmp dword [0x4f3ba8], 0
jne case.0x4044b5.8741
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push 0x4f3ba8
mov ecx, dword [ecx + 0x9c]
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
cmp byte [eax + 0x3c4], 0
jne 0x4059b9
mov ecx, 0x4f3ba8
call fcn.00403b60
jmp 0x4059b9
mov edi, dword [ebp - 0x1b4]
mov dword [ebp - 0x180], 0
test edi, edi
je case.0x4044b5.8741
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
sub eax, edi
sub eax, 8
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x1a0]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 4
push eax
call fcn.0042ab40
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
mov eax, dword [0x4f3be4]
xor byte [ebp - 0x1a0], 0xd
push edi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4f3be4]
push 0x8000
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x194], eax
call fcn.004889f5
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x154], ecx
test eax, eax
je 0x404f50
nop dword [eax]
mov edi, 0x8000
cmp eax, edi
cmovb edi, eax
push edi
push ecx
push dword [ebp - 0x194]
mov dword [ebp - 0x170], edi
call dword [sym.imp.MMFS2.dll_Ordinal_425]
test eax, eax
jne 0x404f4a
mov edx, dword [ebp - 0x154]
mov ecx, edi
shr ecx, 2
test ecx, ecx
je 0x404f03
mov eax, esi
shr eax, 0x1f
lea esi, [eax + esi*2]
add esi, dword [edx]
add edx, 4
sub ecx, 1
jne 0x404ef1
mov eax, edi
mov edi, 0
and eax, 3
mov dword [ebp - 0x174], eax
jbe 0x404f2c
movzx ecx, byte [edi + edx]
mov eax, esi
shr eax, 0x1f
inc edi
add ecx, eax
lea esi, [ecx + esi*2]
cmp edi, dword [ebp - 0x174]
jb 0x404f15
mov eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
jne 0x404ec0
mov ecx, dword [ebp - 0x154]
push 0x8000
push 0
push ecx
call fcn.00489e90
add esp, 0xc
push dword [ebp - 0x154]
call fcn.004889fe
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
add esp, 4
cmp esi, dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x14c]
je 0x405a06
mov dword [ebp - 0x180], 1
jmp 0x405a06
xor edx, edx
lea ecx, [ebp - 0x164]
call fcn.004291c0
mov esi, eax
jmp 0x4059ad
mov edx, 1
lea ecx, [ebp - 0x164]
call fcn.004291c0
mov esi, eax
jmp 0x4059ad
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea eax, [ebp - 0x154]
push eax
lea edx, [ebp - 0x164]
mov dword [ebp - 0x154], 0
mov ecx, dword [ecx + 0x9c]
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
test esi, esi
jne 0x4059b3
mov eax, dword [ebp - 0x154]
movzx edx, word [eax]
mov dword [ebp - 0x174], edx
test dx, dx
je 0x405060
mov eax, dword [0x4f3be4]
movzx edi, dx
shl edi, 4
push 1
push edi
mov dword [ebp - 0x170], eax
call fcn.0049277a
add esp, 8
test eax, eax
jne 0x405042
call fcn.004aefaf
push 1
push edi
call fcn.0049277a
add esp, 8
mov ecx, dword [ebp - 0x170]
mov dword [ecx + 0xe8], eax
test eax, eax
jne 0x40505a
lea esi, [eax + 8]
jmp 0x405110
mov edx, dword [ebp - 0x174]
mov eax, dword [0x4f3be4]
movzx ecx, dx
mov dword [ebp - 0x158], 0
mov dword [eax + 0xe4], ecx
xor eax, eax
mov ecx, dword [ebp - 0x154]
add ecx, 2
mov dword [ebp - 0x150], ecx
cmp ax, dx
jae 0x405115
cmp word [ecx], 0
je 0x4050ef
mov eax, dword [0x4f3be4]
movzx edi, word [ecx + 2]
add edi, ecx
cmp byte [eax + 0x3c4], 0
jne 0x4050b7
push 0xffffffffffffffff
push edi
call dword [sym.imp.MMFS2.dll_Ordinal_1049]
mov edi, eax
mov eax, dword [ebp - 0x158]
mov edx, edi
movzx ecx, ax
call fcn.0043b750
mov ecx, dword [0x4f3be4]
mov esi, eax
cmp byte [ecx + 0x3c4], 0
jne 0x4050df
push edi
call dword [sym.imp.MMFS2.dll_Ordinal_1036]
test esi, esi
jne 0x405110
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x174]
movzx eax, word [ecx]
add ecx, eax
mov eax, dword [ebp - 0x158]
inc eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x158], eax
cmp ax, dx
jb 0x405092
test esi, esi
je 0x405115
call fcn.0043bbc0
push dword [ebp - 0x154]
call fcn.00492790
add esp, 4
jmp 0x4059ad
mov eax, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push 0
push ecx
mov dword [eax + 0x3c8], 0
mov ecx, dword [0x4f3be4]
lea eax, [ecx + 0x3c8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
mov eax, dword [0x4f3be4]
mov edi, dword [eax + 0x3c8]
mov dword [ebp - 0x170], edi
test edi, edi
je case.0x4044b5.8741
mov edi, dword [edi]
test edi, edi
je case.0x4044b5.8741
mov esi, dword [ebp - 0x170]
lea edx, [esi + 4]
nop dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x4051d2
lea ecx, [eax + esi]
mov eax, dword [ecx + 0xc]
test al, 0xf
je 0x4051bf
mov eax, dword [0x4f3be4]
mov byte [eax + 0x3d0], 1
mov eax, dword [ecx + 0xc]
test eax, 0x100
je 0x4051d2
mov eax, dword [0x4f3be4]
mov byte [eax + 0x3f8], 1
add edx, 4
sub edi, 1
jne 0x4051a0
mov esi, dword [ebp - 0x14c]
jmp case.0x4044b5.8741
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea eax, [ebp - 0x188]
jmp 0x404b54
mov eax, dword [0x4f3be4]
test byte [eax + 0x1a], 8
je 0x405247
test dword [eax + 0x1b0], 0x4000
jne 0x405247
mov dword [eax + 0x250], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x24c], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x248], 0
mov eax, dword [0x4f3be4]
mov dword [eax + 0x244], 0
call fcn.0043f1d0
mov esi, eax
jmp 0x4059ad
cmp dword [0x4f397c], 0
je case.0x4044b5.8741
call fcn.00402eb0
call fcn.00407c70
jmp case.0x4044b5.8741
mov ecx, dword [0x4f3be4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xcc]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
push dword [eax + 0xcc]
call fcn.004aeff8
add esp, 4
shr eax, 1
movzx ecx, ax
mov eax, dword [0x4f3be4]
mov dword [eax + 0xc8], ecx
jmp 0x4059b9
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
lea eax, [ebp - 0x1a4]
push 4
push eax
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call edi
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
cmp dword [ebp - 0x1a4], eax
je 0x405a06
mov ecx, dword [0x4f3be4]
mov dword [ebp - 0x158], esi
movzx eax, word [ecx + 0x1a]
mov edx, eax
and eax, 0xffbf
mov word [ecx + 0x1a], ax
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x1a4], esi
jle 0x4054ed
nop dword [eax + eax]
push 2
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call edi
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4054ed
push 0x218
call fcn.004886a8
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x194], edi
mov word [edi], ax
mov dword [edi + 0x208], eax
mov dword [edi + 0x210], eax
mov dword [edi + 0x20c], eax
mov dword [edi + 0x214], eax
mov ecx, dword [0x4f3be4]
cmp byte [ecx + 0x3c4], al
movzx eax, word [ebp - 0x178]
jne 0x40540a
push eax
lea eax, [ebp - 0x140]
push eax
push dword [ecx + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov esi, eax
movzx eax, word [ebp - 0x178]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
cmp eax, 0x105
jae 0x405fe3
push 0x104
push edi
push 0xffffffffffffffff
mov byte [ebp + eax - 0x140], 0
lea eax, [ebp - 0x140]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x405435
add eax, eax
push eax
push edi
push dword [ecx + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov esi, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
xor ecx, ecx
movzx eax, word [ebp - 0x178]
mov word [edi + eax*2], cx
push edi
push 0
call fcn.0042b420
test esi, esi
jne 0x4054e5
push 4
lea eax, [edi + 0x20c]
push eax
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4054e5
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [edi + 0x210], eax
mov ecx, dword [0x4f3be4]
push edi
lea ecx, [ecx + 0x168]
call dword [sym.imp.MMFS2.dll_Ordinal_333]
mov eax, dword [0x4f3be4]
push dword [edi + 0x20c]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_431]
mov edi, dword [ebp - 0x158]
inc edi
cmp edi, dword [ebp - 0x1a4]
mov dword [ebp - 0x158], edi
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
jl 0x405340
mov eax, dword [0x4f3be4]
mov ecx, dword [ebp - 0x170]
mov word [eax + 0x1a], cx
jmp 0x4059b9
push ecx
mov ecx, edi
call fcn.004060c0
mov eax, dword [0x4f3be4]
mov ecx, dword [ebp - 0x170]
mov word [eax + 0x1a], cx
jmp 0x4059b9
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [0x4f3984], eax
mov eax, dword [ebp - 0x160]
mov dword [0x4f3980], eax
jmp case.0x4044b5.8741
mov ecx, dword [0x4f3be4]
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
push 4
lea eax, [ecx + 0x3d8]
push eax
push dword [ecx + 0x9c]
call edi
mov esi, eax
test esi, esi
jne 0x405f2f
mov ecx, dword [0x4f3be4]
push 4
lea eax, [ecx + 0x3dc]
push eax
push dword [ecx + 0x9c]
call edi
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x405f2f
jmp 0x405a06
mov esi, 0x13
jmp 0x405f2f
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4f3be4]
mov edx, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xd0]
mov dword [ecx + edx*4], eax
mov eax, dword [0x4f3be4]
cmp dword [eax + 0xd4], 0
jne 0x4055cb
cmp dword [ebp - 0x184], 0
jne 0x4056e2
xor eax, eax
xor edi, edi
mov word [ebp - 0x19c], ax
push 8
lea eax, [ebp - 0x19c]
push eax
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4056e2
cmp dword [ebp - 0x198], eax
je 0x4056d0
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
add eax, dword [ebp - 0x198]
movzx ecx, word [ebp - 0x19c]
mov dword [ebp - 0x170], eax
sub ecx, 0x3334
je 0x405786
sub ecx, 2
je 0x4056f2
sub ecx, 1
jne 0x4056ac
cmp dword [ebp - 0x184], ecx
jne 0x4056ac
mov ecx, dword [0x4f3be4]
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x19c]
push dword [ecx + 0x26c]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4056e2
mov ecx, dword [ebp - 0x190]
add ecx, 4
mov edx, ecx
call fcn.004079d0
mov dword [ebp - 0x184], 1
test edi, edi
je 0x4056b9
cmp dword [ebp - 0x184], 0
jne 0x4056e2
mov eax, dword [0x4f3be4]
push dword [ebp - 0x170]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, 0x7f7f
cmp word [ebp - 0x19c], ax
jne 0x4055d6
mov eax, dword [0x4f3be4]
inc dword [eax + 0xc4]
jmp 0x4059b9
mov ecx, dword [0x4f3be4]
cmp dword [ecx + 0xd4], 0
je 0x40577c
push dword [ecx + 0x26c]
lea eax, [ebp - 0x17c]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x19c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4056e2
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x40577c
mov eax, dword [0x4f3be4]
cmp byte [eax + 0x3c4], 0
jne 0x405767
lea ecx, [ebp - 0x17c]
call fcn.00403b60
mov eax, dword [0x4f3be4]
mov edx, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xd4]
inc dword [ebp - 0x18c]
mov dword [eax + ecx*4], edx
mov edi, 1
jmp 0x4056b0
mov ecx, dword [0x4f3be4]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x19c]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 0x10
push eax
call fcn.0042ab40
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
jne 0x4056e2
test byte [ebp - 0x20], 0x40
jne 0x4056ac
lea edi, [eax + 1]
jmp 0x4056b0
cmp edi, 0x6669
ja case.0x4044b5.8741
cmp edi, 0x6666
jae 0x4059c2
lea eax, [edi - 0x5555]
cmp eax, 3
ja case.0x4044b5.8741
push 0
push ecx
mov ecx, dword [0x4f3be4]
lea eax, [edi - 0x550f]
lea edx, [ebp - 0x164]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.0042ace0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x14c], esi
test esi, esi
jne 0x4059b3
mov eax, dword [0x4f3be4]
push dword [eax + edi*4 - 0x1543c]
call fcn.004aeff8
and eax, 0xfffffffc
add esp, 4
cmp eax, 0x3fffc
jbe 0x405859
mov eax, 0xffff
jmp 0x405870
mov eax, dword [0x4f3be4]
push dword [eax + edi*4 - 0x1543c]
call fcn.004aeff8
add esp, 4
shr eax, 2
mov ecx, dword [0x4f3be4]
xor edx, edx
mov dword [ebp - 0x158], edx
mov word [ecx + edi*2 - 0xa99a], ax
xor eax, eax
mov ecx, dword [0x4f3be4]
mov esi, dword [ecx + edi*4 - 0x1543c]
cmp ax, word [ecx + edi*2 - 0xa99a]
jae 0x4058f2
nop
mov eax, dword [esi]
test eax, eax
je 0x4058dc
cmp dword [ecx + 0xc], 0x11b
mov edx, eax
jbe 0x4058c6
cmp word [ecx + 0x14], 0
jge 0x4058c6
lea edx, [eax - 0x100]
mov dword [esi], edx
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x10c]
add eax, edx
mov edx, dword [ebp - 0x158]
mov dword [esi], eax
mov ecx, dword [0x4f3be4]
movzx eax, word [ecx + edi*2 - 0xa99a]
inc edx
add esi, 4
mov dword [ebp - 0x158], edx
cmp edx, eax
jb 0x4058a0
mov eax, 0x100
mov word [ecx + edi*2 - 0xa982], ax
mov eax, dword [0x4f3be4]
push 0x200
lea esi, [eax + edi*4]
call fcn.0049276f
add esp, 4
test eax, eax
jne 0x40592a
call fcn.004aefaf
push 0x200
call fcn.0049276f
add esp, 4
mov dword [esi - 0x15424], eax
test eax, eax
jne 0x405939
lea esi, [eax + 8]
jmp 0x4059ad
mov eax, dword [0x4f3be4]
push 0x200
push 0xff
push dword [eax + edi*4 - 0x15424]
call fcn.00489e90
mov eax, dword [0x4f3be4]
lea ecx, [edi - 0x5505]
add esp, 0xc
lea ecx, [eax + ecx*4]
movzx eax, word [eax + edi*2 - 0xa99a]
push 1
mov dword [ebp - 0x170], ecx
lea esi, [eax*2 + 2]
push esi
call fcn.0049277a
add esp, 8
test eax, eax
jne 0x405999
call fcn.004aefaf
push 1
push esi
call fcn.0049277a
add esp, 8
mov ecx, dword [ebp - 0x170]
xor esi, esi
test eax, eax
mov dword [ecx], eax
mov eax, 8
cmove esi, eax
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
test esi, esi
je case.0x4044b5.8741
jmp 0x405f2f
mov ecx, dword [0x4f3be4]
mov eax, dword [ecx + 0x9c]
mov dword [ecx + edi*4 - 0x1989c], eax
mov eax, dword [0x4f3be4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4f3be4]
xor esi, esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], esi
mov dword [ecx + 0x10c], eax
mov edi, dword [sym.imp.MMFS2.dll_Ordinal_425]
mov eax, dword [0x4f3be4]
push dword [ebp - 0x1b8]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, 0x7f7f
cmp word [ebp - 0x164], ax
je 0x405a35
mov eax, dword [0x4f3be4]
jmp 0x404434
test esi, esi
jne 0x405f2f
cmp dword [ebp - 0x18c], esi
jne 0x405a64
mov edi, dword [0x4f3be4]
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x405a64
push eax
call fcn.00492790
add esp, 4
mov dword [edi + 0xd4], esi
mov eax, dword [0x4f3be4]
mov ecx, dword [ebp - 0x1ac]
mov dword [eax + 0x1e8], ecx
mov ecx, dword [0x4f3be4]
mov ecx, dword [ecx + 0xc0]
call fcn.0045eca0
mov eax, dword [0x4f3be4]
mov eax, dword [eax + 0x3bc]
test dword [eax], 0x8000000
je 0x405b00
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405b00
cmp dword [ebp - 0x138], 2
jne 0x405b00
cmp dword [ebp - 0x144], 5
jb 0x405b00
push 0x4df3d4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x405af9
push str.ImmDisableIME
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405af2
push 0
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x168]
test ecx, ecx
jne 0x405d37
cmp dword [ebp - 0x180], ecx
jne 0x405d37
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x405b4e
mov esi, dword [0x4f3bc8]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
push dword [0x4f3bac]
mov dword [0x4f3bc8], eax
call dword [sym.imp.MMFS2.dll_Ordinal_121]
test esi, esi
je 0x405b4e
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4f3bb0]
mov esi, dword [0x4f3d7c]
mov dword [ebp - 0x210], eax
mov eax, dword [0x4f3d50]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0x4c
mov dword [ebp - 0x1dc], 1
mov dword [ebp - 0x1ec], str.Mf2MainClassTh
test eax, eax
je 0x405bde
mov dword [ebp - 0x208], eax
mov eax, dword [0x4f3d78]
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x1f4], 0x42000000
jmp 0x405c2e
mov eax, esi
mov dword [ebp - 0x208], 0
cdq
and edx, 3
mov dword [ebp - 0x1f4], 0x2cf0000
add eax, edx
sar eax, 2
mov dword [ebp - 0x1f8], eax
mov eax, dword [0x4f3d78]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x1fc], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x200], eax
mov eax, dword [0x4f3d78]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x204], eax
xor ecx, ecx
mov eax, dword [0x4f3be4]
mov dword [ebp - 0x1f0], 0x4df498
mov dword [ebp - 0x1e8], ecx
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x405c7d
test byte [edx], 0x20
mov edx, 0x2000
cmovne ecx, edx
mov dword [ebp - 0x1e8], ecx
mov eax, dword [eax + 0x3bc]
test byte [eax], 0x80
je 0x405c7d
or ecx, 0x500000
mov dword [ebp - 0x1e8], ecx
lea eax, [esi + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
mov dword [ebp - 0x1e4], eax
call esi
push 4
lea edi, [eax*2 + 0x10]
call esi
add eax, dword [0x4f3d78]
add eax, edi
mov dword [ebp - 0x1d4], 2
push 4
mov dword [ebp - 0x1e0], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x1d8], eax
xor ecx, ecx
mov eax, dword [0x4f3be4]
mov edx, 0x4000
mov dword [ebp - 0x1d0], ecx
test word [eax + 0x16], dx
mov eax, 0x200
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
push dword [0x4f3bac]
mov dword [ebp - 0x1d0], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_1080]
mov dword [0x4f3bb8], eax
cmp eax, 0x20
ja 0x405d16
mov dword [0x4f3bb8], 0
mov esi, 2
jmp 0x405f2f
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_18]
mov dword [0x4f3bc0], eax
call fcn.00402ef0
mov esi, eax
mov dword [ebp - 0x14c], esi
test esi, esi
jne 0x405f2f
mov eax, dword [0x4f3be4]
mov ecx, 0xc000
test word [eax + 0x1a], cx
je 0x405d80
test byte [0x4f3bcc], 0x40
jne 0x405d80
cmp dword [ebp - 0x188], 0
je 0x405d8e
mov edi, dword [ebp - 0x16c]
mov eax, dword [edi + 0x3c8]
test eax, eax
je 0x405d72
push eax
call fcn.00492790
add esp, 4
mov eax, dword [ebp - 0x188]
mov dword [edi + 0x3c8], eax
jmp 0x405d8e
push dword [ebp - 0x188]
call fcn.00492790
add esp, 4
mov eax, dword [0x4f3be4]
mov ecx, dword [0x4f3bb4]
mov dword [eax + 0x1c4], ecx
call fcn.004030a0
test eax, eax
jne 0x405db0
or esi, 0xffffffff
jmp 0x405f2f
mov eax, dword [0x4f3be4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405df7
cmp dword [ebp - 0x18c], 0
jne 0x405df7
push 0
push 0x3f3
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
cmp eax, 0xffffffff
je 0x405dfd
mov eax, dword [0x4f3be4]
push 0
push 0x3f3
push dword [eax + 0xb0]
call edi
jmp 0x405dfd
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [0x4f3be4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405ea5
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x405ea5
mov eax, dword [0x4f3be4]
mov ecx, 0x1000
test word [eax + 0x14], cx
jne 0x405ea5
push 0
push 0x401
push dword [eax + 0xb0]
call edi
mov eax, dword [0x4f3be4]
push 1
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x405ea5
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, eax
test edi, edi
jle 0x405ea5
mov esi, dword [ebp - 0x1ac]
push 0x400
lea ecx, [edi - 1]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
test eax, 0x800
je 0x405e9f
push 0x400
dec edi
push edi
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
test edi, edi
jg 0x405e76
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x168]
test edi, edi
jne 0x405ee1
mov eax, dword [0x4f3be4]
test byte [eax + 0x16], 8
je 0x405ee1
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_31]
push edi
push edi
push edi
push 4
push dword [0x4f3bb8]
call esi
or eax, 4
push eax
push 2
push dword [0x4f3bb8]
call esi
mov esi, dword [ebp - 0x14c]
mov ecx, dword [0x4f3bc0]
test edi, edi
je 0x405ef1
mov ecx, dword [edi + 0x1d0]
cmp dword [ebp - 0x180], 0
jne 0x405f0e
push dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.0044d6e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x405f2f
test edi, edi
jne 0x405f2f
mov eax, dword [0x4f3be4]
mov ecx, 0x800
test word [eax + 0x14], cx
je 0x405f2f
lea ecx, [edi + 1]
call fcn.0045e290
call fcn.004030a0
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x405f42
push eax
call fcn.00492790
add esp, 4
test esi, esi
jne 0x405f91
mov ecx, dword [0x4f3be4]
test ecx, ecx
je 0x405f6e
mov eax, dword [ecx + 0x1d0]
mov dword [0x4f3bc4], eax
mov eax, dword [ecx + 0x1d4]
mov dword [0x4f3bbc], eax
mov eax, dword [ebp - 0x1a8]
jmp 0x405fc5
mov eax, dword [ebp - 0x1a8]
mov dword [0x4f3bc4], 0
mov dword [0x4f3bbc], 0
jmp 0x405fc5
mov esi, 0x14
jmp 0x405f93
jle 0x405fad
test byte [0x4f3d5e], 1
je 0x405fad
push ecx
mov ecx, dword [0x4f3bc0]
mov edx, esi
call fcn.0044d4a0
add esp, 4
mov ecx, dword [ebp - 0x16c]
call fcn.00406250
mov ecx, dword [ebp - 0x1c0]
call fcn.00403200
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00488295
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00488807
mov esp, 0x49004044
inc edi
inc eax
add byte [edi], cl
dec ebp
inc eax
add byte [ebp - 0x6affbfb3], bl
dec edi
inc eax
add cl, bh
push ecx
inc eax
add byte [ebx + 0x52], dl
inc eax
add byte [edi + 0x52], ch
inc eax
add byte [ecx], al
push ebp
inc eax
add bh, dh
inc edi
inc eax
add dh, ah
dec ecx
inc eax
add byte [edi + 0x4a], ah
inc eax
add byte [edx], dh
dec ebx
inc eax
add byte [ebx + ecx*2 + 0x4fa90040], al
inc eax
add byte [edi - 0x7fffbfb6], bh
push ebp
inc eax
add ch, cl
push edx
inc eax
add byte [edi + 0x4d], al
inc eax
add byte [edi + 0x74004047], bl
inc edi
inc eax
add al, al
dec edi
inc eax
add bl, bh
dec ebp
inc eax
add byte [eax], ch
push ecx
inc eax
add byte [edx + 0x4d], dh
inc eax
add byte [ebp + 0x27004045], ch
push ebp
inc eax
add bl, bl
inc ebp
inc eax
add ch, ah
push ecx
inc eax
add byte [eax], al
pop edx
inc eax
add byte [eax], al
add dword [0x5040302], ebx
push es
pop es
or byte [487262729], bl
or al, 13
push cs
movups xmm3, xmmword [336794129]
sbb eax, 486872349
sbb eax, 404559638
sbb dword [488447261], ebx
sbb eax, 488447258
sbb ebx, dword [488447248]
sbb eax, -870572771
int3