Function at 0x403260
Capabilities:
Authenticate hmac
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 0x499b90
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x208
mov eax, dword [0x4b3ca0]
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 - 0x188], edx
mov esi, ecx
mov eax, dword [ebx + 8]
push 1
push 0x42c
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x190], 0
call fcn.0047b099
mov edi, eax
add esp, 8
mov dword [ebp - 0x154], edi
test edi, edi
jne 0x403329
call fcn.00484515
push 1
push 0x42c
call fcn.0047b099
add esp, 8
mov dword [ebp - 0x154], eax
mov edi, eax
mov dword [ebp - 0x1ac], edi
test edi, edi
je 0x40574d
mov ecx, dword [0x4b7100]
test ecx, ecx
jne 0x40338a
push 1
push 0x28
call fcn.0047b099
add esp, 8
test eax, eax
jne 0x403362
call fcn.00484515
push 1
push 0x28
call fcn.0047b099
add esp, 8
mov dword [0x4b7108], eax
test eax, eax
je 0x4033fe
mov ecx, dword [0x4b7100]
mov dword [0x4b7104], 0xa
mov dword [eax + ecx*4], edi
inc dword [0x4b7100]
jmp 0x4033fe
mov eax, dword [0x4b7104]
cmp ecx, eax
jl 0x4033e8
lea edi, [eax*4 + 0x28]
push edi
push dword [0x4b7108]
call fcn.0047b0a4
add esp, 8
test eax, eax
jne 0x4033c5
call fcn.00484515
push edi
push dword [0x4b7108]
call fcn.0047b0a4
add esp, 8
test eax, eax
je 0x4033f8
mov ecx, dword [0x4b7100]
add dword [0x4b7104], 0xa
mov edi, dword [ebp - 0x154]
mov dword [0x4b7108], eax
mov dword [eax + ecx*4], edi
inc dword [0x4b7100]
jmp 0x4033fe
mov eax, dword [0x4b7108]
mov dword [eax + ecx*4], edi
inc dword [0x4b7100]
jmp 0x4033fe
mov edi, dword [ebp - 0x154]
mov ecx, edi
call fcn.00402c30
mov ecx, dword [0x4b70e4]
add ecx, 0x168
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1b8], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_255]
mov eax, dword [0x4b70e4]
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x194], 0
mov dword [eax + 0xfc], 0xffffffff
mov eax, dword [0x4b70e4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [0x4b70e4]
mov dword [eax + 0x104], 0xffffffff
mov eax, dword [0x4b70e4]
mov dword [eax + 0x108], 0xffffffff
mov eax, dword [0x4b70e4]
mov dword [eax + 0x1f0], 0xffffffff
mov eax, dword [0x4b70e4]
mov dword [eax + 0x1a8], ecx
mov eax, dword [0x4b70e4]
mov dword [eax + 0x3c0], 0
mov eax, dword [0x4b70e4]
mov byte [eax + 0x3ec], 0
mov eax, dword [0x4b70e4]
mov dword [eax + 0x3d8], 0
mov eax, dword [0x4b70e4]
mov dword [eax + 0x3dc], 3
mov eax, dword [0x4b70e4]
mov dword [eax + 0x3f4], 0x42e700
test edx, edx
je 0x403577
mov eax, dword [0x4b70e4]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x1b0], ecx
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 1
and eax, 1
mov dword [ecx + 0x244], eax
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 2
and eax, 1
mov dword [ecx + 0x248], eax
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x24c], eax
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x250], eax
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 0x13
and eax, 1
mov dword [ecx + 0x240], eax
test byte [0x4b70cc], 0x10
je 0x403577
test dword [edx + 0x10], 0x4100020
jne 0x403577
mov dword [edi + 0x3d4], 2
mov eax, dword [0x4b70e4]
xor edi, edi
mov dword [ebp - 0x158], edi
mov dword [eax + 0x424], 0
mov eax, dword [0x4b70e4]
mov byte [eax + 0x428], 0
mov eax, dword [0x4b70e4]
mov dword [eax + 0x9c], 0xffffffff
test esi, esi
jne 0x4035cf
mov esi, dword [0x4b70fc]
mov edi, dword [0x4b5a24]
mov dword [ebp - 0x158], edi
test esi, esi
je 0x405737
test edi, edi
je 0x405737
push 0
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov ecx, eax
mov eax, dword [0x4b70e4]
mov dword [eax + 0x9c], ecx
cmp ecx, 0xffffffff
jne 0x4035f8
lea edi, [ecx + 5]
mov dword [0x4b6ed0], esi
jmp 0x40571d
test edi, edi
je 0x4036b2
cmp dword [ebp - 0x174], 0
jne 0x4036a0
cmp dword [0x4b6e78], 0
jne 0x4036a0
push 2
push 0x2624a0
call fcn.0047b099
add esp, 8
mov dword [0x4b6e78], eax
push 0x104
push eax
push dword [0x4b70b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push dword [0x4b6e78]
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
je 0x4036a0
push 0x100
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_430]
push 0x2624a0
push dword [0x4b6e78]
push dword [ebp - 0x17c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
push dword [ebp - 0x17c]
mov edi, eax
call dword [sym.imp.MMFS2.dll_Ordinal_419]
test edi, edi
je 0x40369a
cmp edi, 0x40000002
jne 0x4056cc
mov edi, dword [ebp - 0x158]
mov eax, dword [0x4b70e4]
push edi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4b70e4]
push 0x10
mov dword [eax + 0x84], esi
mov eax, dword [0x4b70e4]
mov esi, dword [ebp - 0x154]
push esi
mov dword [eax + 0xa0], edi
mov eax, dword [0x4b70e4]
mov dword [eax + 0x3a0], 0
push dword [esi + 0x9c]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
call esi
mov edi, eax
test edi, edi
jne 0x40571b
mov eax, dword [0x4b70e4]
mov ecx, dword [eax]
cmp ecx, 0x454d4150
jne 0x403710
mov byte [eax + 0x3c4], 0
jmp 0x403723
cmp ecx, 0x554d4150
jne 0x405714
mov byte [eax + 0x3c4], 1
mov ecx, dword [0x4b70e4]
mov eax, 0x302
cmp word [ecx + 4], ax
je 0x40373e
mov edi, 0x13
jmp 0x40571d
cmp dword [ebp - 0x174], 0
jne 0x40375c
mov eax, dword [ecx + 8]
cmp eax, dword [0x4b5a28]
je 0x40375c
mov edi, 0x13
jmp 0x40571d
xor eax, eax
mov word [ebp - 0x168], ax
push 8
lea eax, [ebp - 0x168]
push eax
push dword [ecx + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
cmp dword [ebp - 0x164], eax
je 0x405043
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov esi, eax
add esi, dword [ebp - 0x164]
mov dword [ebp - 0x1b8], esi
movzx esi, word [ebp - 0x168]
mov dword [ebp - 0x180], esi
cmp esi, 0x3333
ja 0x404e10
je 0x404bbe
sub esi, 0x2223
cmp esi, 0x37
ja case.0x4037ec.8741
movzx eax, byte [esi + 0x405804]
jmp dword [eax*4 + 0x405774]
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push 0
lea eax, [ecx + 0x3a0]
push eax
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 0x9c]
push 0x70
push eax
call fcn.00428480
mov esi, dword [ebp - 0x174]
mov edi, eax
mov ecx, dword [0x4b70e4]
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test esi, esi
jne 0x403850
mov eax, 0x200
test word [ecx + 0x16], ax
je 0x403850
mov eax, 1
mov word [0x4b725c], ax
lea edx, [ecx + 0xd0]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432770
test eax, eax
je 0x4038db
mov ecx, dword [0x4b70e4]
test byte [ecx + 0x16], 4
jne 0x403882
lea edx, [ecx + 0xd4]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432770
push 1
push 0x100
call fcn.0047b099
mov ecx, eax
add esp, 8
mov eax, dword [0x4b70e4]
mov dword [eax + 0x26c], ecx
test esi, esi
jne 0x4038c0
mov ecx, dword [0x4b6e70]
test ecx, ecx
je 0x4038c0
mov eax, dword [0x4b70e4]
mov edx, 0x800
test word [eax + 0x16], dx
jne 0x4038c0
push 1
call ecx
mov eax, dword [0x4b70e4]
test byte [eax + 0x14], 0x10
je 0x404fdf
mov byte [eax + 0x3d0], 1
jmp 0x404fdf
mov edi, 8
jmp 0x4056b9
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push 0
push 0
push 4
lea eax, [ecx + 0x3c0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428480
add esp, 0x10
mov edi, eax
jmp 0x404fd3
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push 0
push 0
push 4
lea eax, [ecx + 0x3e8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428480
mov esi, dword [0x4b70e4]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x158], esi
cmp byte [esi + 0x3ec], 0
je 0x403972
push dword [esi + 0x3f0]
call fcn.0047b84e
add esp, 4
mov byte [esi + 0x3ec], 0
mov eax, dword [esi + 0x3e8]
xor ecx, ecx
mov word [ebp - 0x100], cx
test eax, eax
je 0x403a3a
push ecx
push ecx
movzx esi, ax
push 0x59
push esi
mov dword [ebp - 0x15c], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 0x63
jge 0x403a34
push eax
lea eax, [ebp - 0x100]
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea edi, [ebp - 0x100]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4039c0
mov eax, dword [0x4a4340]
lea esi, [ebp - 0x100]
mov dword [edi], eax
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4039e0
mov edi, dword [ebp - 0x15c]
sub esi, ecx
push 0
push 0
push 0x5a
push edi
sar esi, 1
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, eax
mov eax, 0x63
sub eax, esi
cmp ecx, eax
jge 0x403a25
push ecx
lea eax, [ebp - 0x100]
lea eax, [eax + esi*2]
push eax
push 0x5a
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x403a2e
xor eax, eax
mov word [ebp - 0x100], ax
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x100]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403a43
sub ecx, edx
sar ecx, 1
je 0x404fdf
lea eax, [ebp - 0x100]
push eax
push 0
call fcn.0047b906
add esp, 8
mov dword [esi + 0x3f0], eax
mov byte [esi + 0x3ec], 1
jmp 0x404fdf
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x80]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
add esp, 0xc
mov edi, eax
jmp 0x404fd3
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x8c]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
add esp, 0xc
mov edi, eax
jmp 0x404fd3
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x90]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fdf
lea ecx, [eax + 0x90]
call fcn.00403120
jmp 0x404fdf
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
mov dword [ebp - 0x1b0], 1
lea eax, [ecx + 0x88]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
mov esi, dword [eax + 0x26c]
test esi, esi
je 0x403cba
push dword [eax + 0x80]
mov edx, esi
mov byte [ebp - 0x16e], 0
mov ecx, eax
mov byte [ebp - 0x16d], 0
call fcn.00403180
mov eax, dword [ebp - 0x154]
add esp, 4
mov edx, esi
mov ecx, eax
push dword [eax + 0x8c]
call fcn.00403180
mov eax, dword [ebp - 0x154]
add esp, 4
mov edx, esi
mov ecx, eax
push dword [eax + 0x88]
call fcn.00403180
add esp, 4
lea eax, [esi + 0x80]
push 0x80
push 0
push eax
call fcn.00478c40
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403be4
sub ecx, edx
mov dh, 0x36
mov byte [ebp - 0x1bc], dh
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x15c], eax
cmp eax, 2
jl 0x403c7e
lea edi, [eax - 2]
shr edi, 1
inc edi
lea eax, [edi + edi]
mov dword [ebp - 0x16c], eax
mov dl, dh
shr dh, 1
shl dl, 7
add dl, dh
xor byte [esi], dl
mov cl, dl
movzx eax, byte [esi]
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 - 0x16d]
xor byte [esi + 1], dh
add byte [ebp - 0x16e], cl
mov cl, dh
movzx eax, byte [esi + 1]
and cl, 1
add cl, 2
add esi, 2
movzx ecx, cl
imul ecx, eax
add dl, cl
mov byte [ebp - 0x16d], dl
sub edi, 1
jne 0x403c14
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x16c]
jmp 0x403c80
mov dl, cl
cmp ecx, eax
jge 0x403ca4
mov cl, dh
shr dh, 1
shl cl, 7
add cl, dh
xor byte [esi], cl
and cl, 1
movzx eax, byte [esi]
add cl, 2
movzx ecx, cl
imul ecx, eax
add cl, 0x36
inc esi
jmp 0x403caa
mov ecx, dword [ebp - 0x1bc]
add dl, byte [ebp - 0x16e]
mov eax, dword [ebp - 0x154]
add dl, cl
mov byte [esi], dl
cmp byte [eax + 0x3c4], 0
jne 0x404fdf
cmp dword [eax + 0x80], 0
lea ecx, [eax + 0x80]
je 0x403ce1
call fcn.00403120
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x8c], 0
lea ecx, [eax + 0x8c]
je 0x403cfb
call fcn.00403120
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x88], 0
lea ecx, [eax + 0x88]
je 0x404fdf
call fcn.00403120
jmp 0x404fdf
cmp dword [ebp - 0x1b0], 0
jne 0x403d45
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
sub eax, 8
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x1b4], eax
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x94]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fdf
lea ecx, [eax + 0x94]
call fcn.00403120
jmp 0x404fdf
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xa4]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fdf
lea ecx, [eax + 0xa4]
call fcn.00403120
jmp 0x404fdf
cmp dword [ebp - 0x174], 0
je case.0x4037ec.8741
cmp dword [ebx + 0x10], 0
jge case.0x4037ec.8741
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xa8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
mov ecx, dword [0x4b70e4]
mov ecx, dword [ecx + 0xa8]
call fcn.00403050
mov ecx, dword [0x4b70e4]
mov dword [ecx + 0xac], eax
jmp case.0x4037ec.8741
mov eax, dword [0x4b70e4]
mov dword [eax + 0x260], 0
mov ecx, dword [0x4b70e4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x260]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x168]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
jmp case.0x4037ec.8741
mov eax, dword [0x4b70e4]
lea edx, [ebp - 0x168]
mov dword [eax + 0x274], 0
mov ecx, dword [0x4b70e4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x274]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x15c], eax
cmp byte [eax + 0x3c4], 0
jne case.0x4037ec.8741
mov esi, dword [eax + 0x274]
test esi, esi
je case.0x4037ec.8741
cmp dword [esi], edi
je case.0x4037ec.8741
mov ecx, dword [esi]
mov eax, 4
add esi, eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x16c], eax
test ecx, ecx
jle 0x403f92
mov edi, ecx
nop dword [eax]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x16c], ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403f75
sub ecx, edx
inc esi
add esi, ecx
sub edi, 1
jne 0x403f50
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x16c]
push 1
push eax
call fcn.0047b099
mov edx, dword [ebp - 0x15c]
add esp, 8
cmp dword [ebp - 0x158], 0
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
lea ecx, [eax + 4]
mov edx, dword [edx + 0x274]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x16c], ecx
lea esi, [edx + 4]
jle 0x40401f
mov edi, ecx
nop
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, esi
lea edi, [edi + eax*2]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403ff8
sub ecx, edx
inc esi
add esi, ecx
sub dword [ebp - 0x158], 1
jne 0x403fd0
mov eax, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x14c]
mov edx, dword [eax + 0x274]
push edx
call fcn.0047b0af
mov eax, dword [ebp - 0x15c]
add esp, 4
mov ecx, dword [ebp - 0x180]
mov dword [eax + 0x274], ecx
jmp case.0x4037ec.8741
cmp dword [ebp - 0x174], 0
jne case.0x4037ec.8741
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xc0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
add esp, 0xc
mov edi, eax
jmp 0x404fd3
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xbc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
add esp, 0xc
mov edi, eax
jmp 0x404fd3
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x3bc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
add esp, 0xc
mov edi, eax
jmp 0x404fd3
cmp dword [0x4b70a8], 0
jne case.0x4037ec.8741
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push 0x4b70a8
mov ecx, dword [ecx + 0x9c]
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fdf
mov ecx, 0x4b70a8
call fcn.00403120
jmp 0x404fdf
mov esi, dword [ebp - 0x1b4]
mov dword [ebp - 0x184], 0
test esi, esi
je case.0x4037ec.8741
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
sub eax, esi
sub eax, 8
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x1a4]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 4
push eax
call fcn.00428480
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
mov eax, dword [0x4b70e4]
xor byte [ebp - 0x1a4], 0xd
push esi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4b70e4]
xor esi, esi
push 0x8000
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x180], eax
call fcn.00477a87
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
test eax, eax
je 0x404291
nop
mov edi, 0x8000
cmp eax, edi
cmovb edi, eax
push edi
push ecx
push dword [ebp - 0x180]
mov dword [ebp - 0x16c], edi
call dword [sym.imp.MMFS2.dll_Ordinal_425]
test eax, eax
jne 0x404285
mov edx, dword [ebp - 0x158]
shr edi, 2
test edi, edi
je 0x404234
nop
mov ecx, dword [edx]
mov eax, esi
shr eax, 0x1f
add edx, 4
add eax, ecx
lea esi, [eax + esi*2]
sub edi, 1
jne 0x404220
mov eax, dword [ebp - 0x16c]
mov edi, 0
and eax, 3
mov dword [ebp - 0x160], eax
jbe 0x404267
nop word [eax + eax]
movzx ecx, byte [edi + edx]
mov eax, esi
shr eax, 0x1f
inc edi
add eax, ecx
lea esi, [eax + esi*2]
cmp edi, dword [ebp - 0x160]
jb 0x404250
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
jne 0x4041f0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x158]
push 0x8000
push 0
push ecx
call fcn.00478c40
add esp, 0xc
push dword [ebp - 0x158]
call fcn.00477a90
add esp, 4
cmp esi, dword [ebp - 0x1a4]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
je 0x40502c
mov dword [ebp - 0x184], 1
jmp 0x40502c
xor edx, edx
lea ecx, [ebp - 0x168]
call fcn.00426f30
mov edi, eax
jmp 0x404fd3
mov edx, 1
lea ecx, [ebp - 0x168]
call fcn.00426f30
mov edi, eax
jmp 0x404fd3
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea eax, [ebp - 0x158]
push eax
lea edx, [ebp - 0x168]
mov dword [ebp - 0x158], 0
mov ecx, dword [ecx + 0x9c]
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fd9
mov eax, dword [ebp - 0x158]
movzx edx, word [eax]
mov dword [ebp - 0x16c], edx
test dx, dx
je 0x40439b
mov eax, dword [0x4b70e4]
movzx esi, dx
shl esi, 4
push 1
push esi
mov dword [ebp - 0x160], eax
call fcn.0047b099
add esp, 8
test eax, eax
jne 0x40437d
call fcn.00484515
push 1
push esi
call fcn.0047b099
add esp, 8
mov ecx, dword [ebp - 0x160]
mov dword [ecx + 0xe8], eax
test eax, eax
jne 0x404395
lea edi, [eax + 8]
jmp 0x40444e
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4b70e4]
movzx ecx, dx
mov dword [ebp - 0x15c], 0
mov dword [eax + 0xe4], ecx
xor eax, eax
mov ecx, dword [ebp - 0x158]
add ecx, 2
mov dword [ebp - 0x150], ecx
cmp ax, dx
jae 0x404453
nop dword [eax]
cmp word [ecx], 0
je 0x40442d
mov eax, dword [0x4b70e4]
movzx esi, word [ecx + 2]
add esi, ecx
cmp byte [eax + 0x3c4], 0
jne 0x4043f5
push 0xffffffffffffffff
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1049]
mov esi, eax
mov eax, dword [ebp - 0x15c]
mov edx, esi
movzx ecx, ax
call fcn.00437b30
mov ecx, dword [0x4b70e4]
mov edi, eax
cmp byte [ecx + 0x3c4], 0
jne 0x40441d
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1036]
test edi, edi
jne 0x40444e
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x16c]
movzx eax, word [ecx]
add ecx, eax
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x15c], eax
cmp ax, dx
jb 0x4043d0
test edi, edi
je 0x404453
call fcn.00437e70
push dword [ebp - 0x158]
call fcn.0047b0af
add esp, 4
jmp 0x404fd3
mov eax, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push 0
push ecx
mov dword [eax + 0x3c8], 0
mov ecx, dword [0x4b70e4]
lea eax, [ecx + 0x3c8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
mov eax, dword [0x4b70e4]
mov esi, dword [eax + 0x3c8]
mov dword [ebp - 0x160], esi
test esi, esi
je case.0x4037ec.8741
mov esi, dword [esi]
test esi, esi
je case.0x4037ec.8741
mov edi, dword [ebp - 0x160]
lea edx, [edi + 4]
nop dword [eax + eax]
mov eax, dword [edx]
test eax, eax
je 0x404512
lea ecx, [eax + edi]
mov eax, dword [ecx + 0xc]
test al, 0xf
je 0x4044ff
mov eax, dword [0x4b70e4]
mov byte [eax + 0x3d0], 1
mov eax, dword [ecx + 0xc]
test eax, 0x100
je 0x404512
mov eax, dword [0x4b70e4]
mov byte [eax + 0x3f8], 1
add edx, 4
sub esi, 1
jne 0x4044e0
mov edi, dword [ebp - 0x14c]
jmp case.0x4037ec.8741
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea eax, [ebp - 0x190]
jmp 0x403e86
mov esi, dword [ebp - 0x154]
test byte [esi + 0x1a], 8
je 0x404579
test dword [esi + 0x1b0], 0x4000
jne 0x404579
mov dword [esi + 0x250], 0
mov dword [esi + 0x24c], 0
mov dword [esi + 0x248], 0
mov dword [esi + 0x244], 0
lea edx, [ebp - 0x168]
mov ecx, esi
call fcn.0043aac0
mov edi, eax
jmp 0x404fd3
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x168]
sub esp, 8
mov ecx, dword [eax + 0x9c]
lea esi, [eax + 0x40c]
push 0
push esi
call fcn.00428dd0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x40462b
mov eax, dword [ebp - 0x154]
mov edx, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404fd9
xor esi, esi
mov edi, esi
nop word [eax + eax]
mov eax, dword [eax + 0x400]
mov ecx, edx
mov dword [eax + esi + 0x10], edx
lea eax, [ecx + 2]
mov dword [ebp - 0x160], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4045f5
sub ecx, dword [ebp - 0x160]
inc edi
mov eax, dword [ebp - 0x154]
add esi, 0x2c
sar ecx, 1
lea edx, [edx + ecx*2]
add edx, 2
cmp edi, dword [eax + 0x190]
jl 0x4045e0
mov edi, dword [ebp - 0x14c]
jmp 0x404fd9
call fcn.0043ac80
jmp 0x404fd9
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x168]
sub esp, 8
mov ecx, dword [eax + 0x9c]
lea esi, [eax + 0x410]
push 0
push esi
call fcn.00428dd0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x40462b
mov eax, dword [ebp - 0x154]
mov esi, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404fd9
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov edi, ecx
mov edx, dword [esi]
add esi, 4
mov eax, dword [eax + 0x400]
mov dword [ebp - 0x158], edx
test edx, edx
je 0x40472f
mov dword [eax + ecx + 0x24], esi
test esi, esi
je 0x40472d
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x404727
cmp ecx, 0xffffffff
je 0x404727
mov eax, dword [0x4b70e4]
mov eax, dword [eax + 0x3c8]
test eax, eax
je 0x404727
cmp ecx, dword [eax]
jae 0x404727
mov ecx, dword [eax + ecx*4 + 4]
test ecx, ecx
je 0x404727
add eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x404727
add eax, ecx
lea edx, [esi + 8]
mov ecx, dword [eax + 4]
add ecx, eax
mov dword [ebp - 0x15c], ecx
xor ecx, ecx
cmp dword [ebp - 0x16c], ecx
jbe 0x404721
mov eax, dword [ebp - 0x15c]
cmp byte [ecx + eax], 3
jne 0x404715
mov ax, word [edx]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x15c]
inc ecx
add edx, 4
cmp ecx, dword [ebp - 0x16c]
jb 0x404702
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x150]
add esi, edx
mov eax, dword [ebp - 0x154]
inc edi
add ecx, 0x2c
mov dword [ebp - 0x150], ecx
cmp edi, dword [eax + 0x190]
jl 0x404685
mov edi, dword [ebp - 0x14c]
jmp 0x404fd9
mov esi, dword [ebp - 0x154]
push dword [esi + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [esi + 0x404], eax
jmp case.0x4037ec.8741
mov ecx, dword [ebp - 0x154]
lea edx, [ebp - 0x168]
sub esp, 8
lea eax, [ecx + 0x408]
mov ecx, dword [ecx + 0x9c]
push 0
push eax
call fcn.00428dd0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fd9
mov eax, dword [ebp - 0x154]
xor edx, edx
cmp dword [eax + 0x190], edx
jle 0x404fd9
xor esi, esi
nop
mov ecx, dword [eax + 0x400]
mov eax, dword [eax + 0x408]
add ecx, esi
mov edi, dword [ebp - 0x154]
add esi, 0x2c
mov eax, dword [eax + edx*4]
inc edx
add eax, dword [edi + 0x404]
mov dword [ecx + 0x18], eax
mov eax, edi
cmp edx, dword [eax + 0x190]
jl 0x4047c0
mov edi, dword [ebp - 0x14c]
jmp 0x404fd9
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x404818
test dword [esi + 0x1b0], 0x4000
je case.0x4037ec.8741
mov ecx, dword [esi + 0x9c]
lea eax, [esi + 0x414]
sub esp, 8
lea edx, [ebp - 0x168]
push eax
lea eax, [esi + 0x41c]
push eax
call fcn.00428dd0
add esp, 0x10
mov edi, eax
jmp 0x404fd3
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x404863
test dword [esi + 0x1b0], 0x4000
je case.0x4037ec.8741
mov ecx, dword [esi + 0x9c]
lea eax, [esi + 0x418]
sub esp, 8
lea edx, [ebp - 0x168]
push eax
lea eax, [esi + 0x420]
push eax
call fcn.00428dd0
add esp, 0x10
mov edi, eax
jmp 0x404fd3
cmp dword [0x4b6e7c], 0
je case.0x4037ec.8741
call fcn.004028a0
call fcn.004070f0
jmp case.0x4037ec.8741
mov ecx, dword [0x4b70e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xcc]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
push dword [eax + 0xcc]
call fcn.0048452b
add esp, 4
shr eax, 1
movzx ecx, ax
mov eax, dword [0x4b70e4]
mov dword [eax + 0xc8], ecx
jmp 0x404fdf
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
lea eax, [ebp - 0x1a8]
push 4
push eax
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
cmp dword [ebp - 0x1a8], eax
je 0x40502c
mov ecx, dword [0x4b70e4]
mov dword [ebp - 0x15c], edi
movzx eax, word [ecx + 0x1a]
mov edx, eax
and eax, 0xffbf
mov word [ecx + 0x1a], ax
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x1a8], edi
jle 0x404b21
push 2
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404b21
push 0x218
call fcn.0047784e
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x180], esi
mov word [esi], ax
mov dword [esi + 0x208], eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x20c], eax
mov dword [esi + 0x214], eax
mov ecx, dword [0x4b70e4]
cmp byte [ecx + 0x3c4], al
movzx eax, word [ebp - 0x178]
jne 0x404a3e
push eax
lea eax, [ebp - 0x140]
push eax
push dword [ecx + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
movzx eax, word [ebp - 0x178]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp eax, 0x105
jae 0x40576d
push 0x104
push esi
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 0x404a69
add eax, eax
push eax
push esi
push dword [ecx + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
xor ecx, ecx
movzx eax, word [ebp - 0x178]
mov word [esi + eax*2], cx
push esi
push 0
call fcn.00429190
test edi, edi
jne 0x404b19
push 4
lea eax, [esi + 0x20c]
push eax
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404b19
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [esi + 0x210], eax
mov ecx, dword [0x4b70e4]
push esi
lea ecx, [ecx + 0x168]
call dword [sym.imp.MMFS2.dll_Ordinal_333]
mov eax, dword [0x4b70e4]
push dword [esi + 0x20c]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_431]
mov esi, dword [ebp - 0x15c]
inc esi
cmp esi, dword [ebp - 0x1a8]
mov dword [ebp - 0x15c], esi
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
jl 0x404974
mov eax, dword [0x4b70e4]
mov ecx, dword [ebp - 0x160]
mov word [eax + 0x1a], cx
jmp 0x404fdf
push ecx
mov ecx, esi
call fcn.00405840
mov eax, dword [0x4b70e4]
mov ecx, dword [ebp - 0x160]
mov word [eax + 0x1a], cx
jmp 0x404fdf
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [0x4b6e84], eax
mov eax, dword [ebp - 0x164]
mov dword [0x4b6e80], eax
jmp case.0x4037ec.8741
mov ecx, dword [0x4b70e4]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
push 4
lea eax, [ecx + 0x3d8]
push eax
push dword [ecx + 0x9c]
call esi
mov edi, eax
test edi, edi
jne 0x4056b9
mov ecx, dword [0x4b70e4]
push 4
lea eax, [ecx + 0x3dc]
push eax
push dword [ecx + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4056b9
jmp 0x40502c
mov edi, 0x13
jmp 0x4056b9
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b70e4]
mov edx, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xd0]
mov dword [ecx + edx*4], eax
mov eax, dword [0x4b70e4]
cmp dword [eax + 0xd4], 0
jne 0x404bff
cmp dword [ebp - 0x18c], 0
jne 0x404d1c
xor eax, eax
xor esi, esi
mov word [ebp - 0x1a0], ax
nop word [eax + eax]
push 8
lea eax, [ebp - 0x1a0]
push eax
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404d1c
cmp dword [ebp - 0x19c], eax
je 0x404d0a
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
add eax, dword [ebp - 0x19c]
movzx ecx, word [ebp - 0x1a0]
mov dword [ebp - 0x160], eax
sub ecx, 0x3334
je 0x404dc0
sub ecx, 2
je 0x404d2c
sub ecx, 1
jne 0x404ce6
cmp dword [ebp - 0x18c], ecx
jne 0x404ce6
mov ecx, dword [0x4b70e4]
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x1a0]
push dword [ecx + 0x26c]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404d1c
mov ecx, dword [ebp - 0x198]
add ecx, 4
mov edx, ecx
call fcn.00406ec0
mov dword [ebp - 0x18c], 1
test esi, esi
je 0x404cf3
cmp dword [ebp - 0x18c], 0
jne 0x404d1c
mov eax, dword [0x4b70e4]
push dword [ebp - 0x160]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, 0x7f7f
cmp word [ebp - 0x1a0], ax
jne 0x404c10
mov eax, dword [0x4b70e4]
inc dword [eax + 0xc4]
jmp 0x404fdf
mov ecx, dword [0x4b70e4]
cmp dword [ecx + 0xd4], 0
je 0x404db6
push dword [ecx + 0x26c]
lea eax, [ebp - 0x17c]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x1a0]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404d1c
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x404db6
mov eax, dword [0x4b70e4]
cmp byte [eax + 0x3c4], 0
jne 0x404da1
lea ecx, [ebp - 0x17c]
call fcn.00403120
mov eax, dword [0x4b70e4]
mov edx, dword [ebp - 0x17c]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xd4]
inc dword [ebp - 0x194]
mov dword [eax + ecx*4], edx
mov esi, 1
jmp 0x404cea
mov ecx, dword [0x4b70e4]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x1a0]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 0x10
push eax
call fcn.00428480
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404d1c
test byte [ebp - 0x20], 0x40
jne 0x404ce6
lea esi, [eax + 1]
jmp 0x404cea
cmp esi, 0x6669
ja case.0x4037ec.8741
cmp esi, 0x6666
jae 0x404fe8
lea eax, [esi - 0x5555]
cmp eax, 3
ja case.0x4037ec.8741
push 0
push ecx
mov ecx, dword [0x4b70e4]
lea eax, [esi - 0x550f]
lea edx, [ebp - 0x168]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428910
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fd9
mov eax, dword [0x4b70e4]
push dword [eax + esi*4 - 0x1543c]
call fcn.0048452b
and eax, 0xfffffffc
add esp, 4
cmp eax, 0x3fffc
jbe 0x404e93
mov eax, 0xffff
jmp 0x404eaa
mov eax, dword [0x4b70e4]
push dword [eax + esi*4 - 0x1543c]
call fcn.0048452b
add esp, 4
shr eax, 2
mov ecx, dword [0x4b70e4]
lea edx, [esi*2 - 0xa99a]
xor edi, edi
mov dword [ebp - 0x160], edx
mov word [edx + ecx], ax
xor eax, eax
mov ecx, dword [0x4b70e4]
mov esi, dword [ecx + esi*4 - 0x1543c]
cmp ax, word [edx + ecx]
jae 0x404f20
mov eax, dword [esi]
test eax, eax
je 0x404f14
cmp dword [ecx + 0xc], 0x11b
mov edx, eax
jbe 0x404efe
cmp word [ecx + 0x14], 0
jge 0x404efe
lea edx, [eax - 0x100]
mov dword [esi], edx
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x10c]
add eax, edx
mov edx, dword [ebp - 0x160]
mov dword [esi], eax
mov ecx, dword [0x4b70e4]
movzx eax, word [edx + ecx]
inc edi
add esi, 4
cmp edi, eax
jb 0x404ed8
mov esi, dword [ebp - 0x180]
mov eax, 0x100
push 0x200
mov word [ecx + esi*2 - 0xa982], ax
mov eax, dword [0x4b70e4]
lea edi, [eax + esi*4]
call fcn.0047b08e
add esp, 4
test eax, eax
jne 0x404f5e
call fcn.00484515
push 0x200
call fcn.0047b08e
add esp, 4
mov dword [edi - 0x15424], eax
test eax, eax
jne 0x404f6d
lea edi, [eax + 8]
jmp 0x404fd3
mov eax, dword [0x4b70e4]
push 0x200
push 0xff
push dword [eax + esi*4 - 0x15424]
call fcn.00478c40
mov eax, dword [0x4b70e4]
add esp, 0xc
lea edi, [eax + esi*4]
movzx eax, word [eax + esi*2 - 0xa99a]
push 1
lea esi, [eax*2 + 2]
push esi
call fcn.0047b099
add esp, 8
test eax, eax
jne 0x404fc1
call fcn.00484515
push 1
push esi
call fcn.0047b099
add esp, 8
mov dword [edi - 0x15414], eax
xor edi, edi
test eax, eax
mov eax, 8
cmove edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
je case.0x4037ec.8741
jmp 0x4056b9
mov ecx, dword [0x4b70e4]
mov eax, dword [ecx + 0x9c]
mov dword [ecx + esi*4 - 0x1989c], eax
mov eax, dword [0x4b70e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b70e4]
xor edi, edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
mov dword [ecx + 0x10c], eax
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
mov eax, dword [0x4b70e4]
push dword [ebp - 0x1b8]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, 0x7f7f
cmp word [ebp - 0x168], ax
je 0x40505c
mov ecx, dword [0x4b70e4]
jmp 0x403765
test edi, edi
jne 0x4056b9
cmp dword [ebp - 0x194], edi
jne 0x40508b
mov esi, dword [0x4b70e4]
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x40508b
push eax
call fcn.0047b0af
add esp, 4
mov dword [esi + 0xd4], edi
mov eax, dword [0x4b70e4]
mov ecx, dword [ebp - 0x188]
mov dword [eax + 0x1e8], ecx
mov ecx, dword [0x4b70e4]
mov ecx, dword [ecx + 0xc0]
call fcn.00459150
mov eax, dword [0x4b70e4]
mov eax, dword [eax + 0x3bc]
test dword [eax], 0x8000000
je 0x405127
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405127
cmp dword [ebp - 0x138], 2
jne 0x405127
cmp dword [ebp - 0x144], 5
jb 0x405127
push 0x4a4344
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x405120
push str.ImmDisableIME
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405119
push 0
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x174]
test ecx, ecx
jne 0x405372
cmp dword [ebp - 0x184], ecx
jne 0x405372
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x405175
mov esi, dword [0x4b70c8]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
push dword [0x4b70ac]
mov dword [0x4b70c8], eax
call dword [sym.imp.MMFS2.dll_Ordinal_121]
test esi, esi
je 0x405175
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4b70b0]
mov esi, dword [0x4b727c]
mov dword [ebp - 0x210], eax
mov eax, dword [0x4b7250]
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 0x405205
mov dword [ebp - 0x208], eax
mov eax, dword [0x4b7278]
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x1f4], 0x42000000
jmp 0x405255
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 [0x4b7278]
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 [0x4b7278]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x204], eax
xor ecx, ecx
mov eax, dword [0x4b70e4]
mov dword [ebp - 0x1f0], 0x4a4434
mov dword [ebp - 0x1e8], ecx
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x4052a4
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 0x4052a4
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, edi
mov dword [ebp - 0x1d4], 2
add eax, dword [0x4b7278]
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 [0x4b70e4]
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 [0x4b70ac]
mov dword [ebp - 0x1d0], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_1080]
mov dword [0x4b70b8], eax
cmp eax, 0x20
ja 0x40533d
mov dword [0x4b70b8], 0
mov edi, 2
jmp 0x4056b9
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_18]
push 0x7f00
push 0
mov dword [0x4b70c0], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.004028e0
mov edi, eax
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4056b9
mov eax, dword [0x4b70e4]
mov ecx, 0xc000
test word [eax + 0x1a], cx
je 0x4053bb
test byte [0x4b70cc], 0x40
jne 0x4053bb
cmp dword [ebp - 0x190], 0
je 0x4053c9
mov esi, dword [ebp - 0x154]
mov eax, dword [esi + 0x3c8]
test eax, eax
je 0x4053ad
push eax
call fcn.0047b0af
add esp, 4
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x3c8], eax
jmp 0x4053c9
push dword [ebp - 0x190]
call fcn.0047b0af
add esp, 4
mov eax, dword [0x4b70e4]
mov ecx, dword [0x4b70b4]
mov dword [eax + 0x1c4], ecx
call fcn.00402b00
test eax, eax
jne 0x4053eb
or edi, 0xffffffff
jmp 0x4056b9
mov eax, dword [0x4b70e4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405432
cmp dword [ebp - 0x194], 0
jne 0x405432
push 0
push 0x3f3
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
cmp eax, 0xffffffff
je 0x405438
mov eax, dword [0x4b70e4]
push 0
push 0x3f3
push dword [eax + 0xb0]
call esi
jmp 0x405438
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [0x4b70e4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x4054e0
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x4054e0
mov eax, dword [0x4b70e4]
mov ecx, 0x1000
test word [eax + 0x14], cx
jne 0x4054e0
push 0
push 0x401
push dword [eax + 0xb0]
call esi
mov eax, dword [0x4b70e4]
push 1
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x4054e0
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
test esi, esi
jle 0x4054e0
mov edi, dword [ebp - 0x188]
push 0x400
lea ecx, [esi - 1]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetMenuState]
test eax, 0x800
je 0x4054da
push 0x400
dec esi
push esi
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
test esi, esi
jg 0x4054b1
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x174]
test esi, esi
jne 0x40551d
mov eax, dword [0x4b70e4]
test byte [eax + 0x16], 8
je 0x40551d
push esi
push esi
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_31]
push 4
push dword [0x4b70b8]
call esi
push 0
or eax, 4
push eax
push 2
push dword [0x4b70b8]
call esi
mov esi, dword [ebp - 0x174]
mov ecx, dword [0x4b70c0]
test esi, esi
je 0x40552d
mov ecx, dword [esi + 0x1d0]
cmp dword [ebp - 0x184], 0
jne 0x40554e
push dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.004480e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4056b9
test esi, esi
jne 0x40556f
mov eax, dword [0x4b70e4]
mov ecx, 0x800
test word [eax + 0x14], cx
je 0x40556f
lea ecx, [esi + 1]
call fcn.004586f0
call fcn.00402b00
test byte [0x4b70cc], 0x40
je 0x4056b9
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x41c], 0
je 0x4056b9
mov ecx, dword [esi + 0x420]
test ecx, ecx
je 0x4056b9
mov eax, dword [esi + 0x418]
add eax, dword [esi + 0x414]
push eax
push ecx
call fcn.0047b0a4
mov esi, eax
add esp, 8
test esi, esi
je 0x405683
mov eax, dword [ebp - 0x154]
push dword [eax + 0x414]
mov ecx, dword [eax + 0x418]
push dword [eax + 0x41c]
add ecx, esi
mov dword [eax + 0x420], esi
push ecx
call fcn.00478db0
mov eax, dword [ebp - 0x154]
add esp, 0xc
mov ecx, dword [eax + 0x418]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 6
mov dword [ebp - 0x188], edx
test edx, edx
jle 0x405636
lea ecx, [esi + 0x5c]
mov esi, edx
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 0x418]
lea ecx, [ecx + 0x60]
add dword [ecx - 0x60], eax
sub esi, 1
jne 0x405611
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x188]
mov ecx, dword [esi + 0x418]
jmp 0x40563c
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
mov eax, ecx
je 0x405657
test dword [esi + 0x1b0], 0x4000
jne 0x405657
xor esi, esi
jmp 0x40565e
mov esi, 1
mov ecx, eax
push esi
mov esi, dword [ebp - 0x154]
mov eax, dword [esi + 0x414]
add eax, ecx
push eax
push dword [esi + 0x420]
push edx
push dword [0x4b70b4]
call dword [sym.imp.MMFS2.dll_Ordinal_1105]
jmp 0x405689
mov esi, dword [ebp - 0x154]
push dword [esi + 0x41c]
call fcn.0047b0af
add esp, 4
mov dword [esi + 0x41c], 0
push dword [esi + 0x420]
call fcn.0047b0af
add esp, 4
mov dword [esi + 0x420], 0
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x4056cc
push eax
call fcn.0047b0af
add esp, 4
test edi, edi
jne 0x40571b
mov ecx, dword [0x4b70e4]
test ecx, ecx
je 0x4056f8
mov eax, dword [ecx + 0x1d0]
mov dword [0x4b70c4], eax
mov eax, dword [ecx + 0x1d4]
mov dword [0x4b70bc], eax
mov eax, dword [ebp - 0x1ac]
jmp 0x40574f
mov eax, dword [ebp - 0x1ac]
mov dword [0x4b70c4], 0
mov dword [0x4b70bc], 0
jmp 0x40574f
mov edi, 0x14
jmp 0x40571d
jle 0x405737
test byte [0x4b725e], 1
je 0x405737
push ecx
mov ecx, dword [0x4b70c0]
mov edx, edi
call fcn.00447ea0
add esp, 4
mov ecx, dword [ebp - 0x154]
call fcn.00405890
mov ecx, dword [ebp - 0x1c0]
call fcn.00402c30
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.004775a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004779ad
nop
aaa
inc eax
add byte [ebx + 0x3a], bh
inc eax
add byte [edi], bh
inc eax
inc eax
add ch, cl
inc eax
inc eax
add al, dl
inc edx
inc eax
add byte [ebx + ecx*2 + 0x488f0040], dh
inc eax
add byte [ebx + 0x35004048], ch
dec ebx
inc eax
add byte [ecx], ch
cmp eax, dword [eax]
sbb byte [0x3d990040], bh
inc eax
add byte [esi + edi + 0x40], ah
add byte [esi - 0x1bffbfc2], dh
inc edx
inc eax
add cl, dh
cmp eax, 0x49090040
inc eax
add byte [edi + 0x40], dh
inc eax
add cl, dl
cmp al, byte [eax]
cmpsb byte [esi], byte es:[edi]
cmp al, byte [eax]
sti
inc edx
inc eax
add byte [ebx], ch
inc ecx
inc eax
add byte [esi + 0x44], ah
inc eax
add byte [edx - 0x1affbfc0], ah
cmp byte [eax], al
pop ebx
dec ebx
inc eax
add byte [ebx], dl
cmp dword [eax], eax
cmp dword [ebp + 0x40], eax
add byte [ebp + 889208901], cl
inc esi
inc eax
add byte [esi + 0x47], dl
inc eax
add byte [ebx + 0x47], dh
inc eax
add byte [eax + ecx*2 + 0x40], al
add cl, bh
inc edi
inc eax
add byte [0x26004045], ah
push eax
inc eax
add byte [eax], al
add dword [ebx], esp
add al, byte [ebx]
add al, 5
push es
pop es
or byte [ebx], ah
or dword [edx], ecx
or esp, dword [ebx]
or al, 13
push cs
syscall
and edx, dword [eax]
adc dword [edx], edx
adc esp, dword [ebx]
and edx, dword [eax + 370484003]
and edx, dword [edi]
sbb byte [ebx], ah
and esp, dword [ebx]
and esp, dword [ebx]
and ebx, dword [ecx]
and esp, dword [ebx]
and ebx, dword [edx]
and ebx, dword [ebx]
sbb al, 29
push ds
pop ds
and byte [ecx], ah
and cl, ah
int3