Function at 0x403240
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 0x48f560
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x210
mov eax, dword [0x4a8014]
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 0x438
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x198], 0
call fcn.0047122f
mov edi, eax
add esp, 8
mov dword [ebp - 0x154], edi
test edi, edi
jne 0x403309
call fcn.00479f45
push 1
push 0x438
call fcn.0047122f
add esp, 8
mov dword [ebp - 0x154], eax
mov edi, eax
mov dword [ebp - 0x1a8], edi
test edi, edi
je 0x40557e
mov ecx, dword [0x4ab3c0]
test ecx, ecx
jne 0x40336a
push 1
push 0x28
call fcn.0047122f
add esp, 8
test eax, eax
jne 0x403342
call fcn.00479f45
push 1
push 0x28
call fcn.0047122f
add esp, 8
mov dword [0x4ab3c8], eax
test eax, eax
je 0x4033de
mov ecx, dword [0x4ab3c0]
mov dword [0x4ab3c4], 0xa
mov dword [eax + ecx*4], edi
inc dword [0x4ab3c0]
jmp 0x4033de
mov eax, dword [0x4ab3c4]
cmp ecx, eax
jl 0x4033c8
lea edi, [eax*4 + 0x28]
push edi
push dword [0x4ab3c8]
call fcn.0047123a
add esp, 8
test eax, eax
jne 0x4033a5
call fcn.00479f45
push edi
push dword [0x4ab3c8]
call fcn.0047123a
add esp, 8
test eax, eax
je 0x4033d8
mov ecx, dword [0x4ab3c0]
add dword [0x4ab3c4], 0xa
mov edi, dword [ebp - 0x154]
mov dword [0x4ab3c8], eax
mov dword [eax + ecx*4], edi
inc dword [0x4ab3c0]
jmp 0x4033de
mov eax, dword [0x4ab3c8]
mov dword [eax + ecx*4], edi
inc dword [0x4ab3c0]
jmp 0x4033de
mov edi, dword [ebp - 0x154]
mov ecx, edi
call fcn.00402c10
mov ecx, dword [0x4ab3a4]
add ecx, 0x168
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1bc], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_255]
mov eax, dword [0x4ab3a4]
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x1a0], 0
mov dword [eax + 0xfc], 0xffffffff
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x104], 0xffffffff
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x108], 0xffffffff
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x1f0], 0xffffffff
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x1a8], ecx
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x3c0], 0
mov eax, dword [0x4ab3a4]
mov byte [eax + 0x3ec], 0
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x3d8], 0
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x3dc], 3
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x3f4], 0x42e470
test edx, edx
je 0x403557
mov eax, dword [0x4ab3a4]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x1b0], ecx
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x1b0]
shr eax, 1
and eax, 1
mov dword [ecx + 0x244], eax
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x1b0]
shr eax, 2
and eax, 1
mov dword [ecx + 0x248], eax
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x24c], eax
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x250], eax
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x1b0]
shr eax, 0x13
and eax, 1
mov dword [ecx + 0x240], eax
test byte [0x4ab38c], 0x10
je 0x403557
test dword [edx + 0x10], 0x4100020
jne 0x403557
mov dword [edi + 0x3d4], 2
mov eax, dword [0x4ab3a4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x190], xmm0
mov dword [eax + 0x424], 0
mov eax, dword [0x4ab3a4]
mov byte [eax + 0x428], 0
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x9c], 0xffffffff
test esi, esi
jne 0x4035be
mov esi, dword [0x4ab3bc]
xor ecx, ecx
mov edi, dword [0x4a9d84]
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x14c], ecx
test esi, esi
je 0x405568
mov eax, edi
or eax, ecx
je 0x405568
jmp 0x4035d6
mov eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x190]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x158], edi
push 0
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov ecx, eax
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x9c], ecx
cmp ecx, 0xffffffff
jne 0x4035ff
lea edi, [ecx + 5]
mov dword [0x4ab190], esi
jmp 0x40554e
mov eax, edi
or eax, dword [ebp - 0x14c]
je 0x4036c5
cmp dword [ebp - 0x174], 0
jne 0x4036ad
cmp dword [0x4ab138], 0
jne 0x4036ad
push 2
push 0x2624a0
call fcn.0047122f
add esp, 8
mov dword [0x4ab138], eax
push 0x104
push eax
push dword [0x4ab370]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push dword [0x4ab138]
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
je 0x4036ad
push pe_nt_image_headers32
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_430]
push 0x2624a0
push dword [0x4ab138]
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 0x4036a7
cmp edi, 0x40000002
jne 0x4054fd
mov edi, dword [ebp - 0x158]
push dword [ebp - 0x14c]
mov eax, dword [0x4ab3a4]
push edi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1145]
mov eax, dword [0x4ab3a4]
push 0x10
mov dword [eax + 0x84], esi
mov eax, dword [0x4ab3a4]
mov esi, dword [ebp - 0x154]
push esi
mov dword [eax + 0xa0], edi
mov eax, dword [0x4ab3a4]
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 0x40554c
mov eax, dword [0x4ab3a4]
mov ecx, dword [eax]
cmp ecx, 0x454d4150
jne 0x403723
mov byte [eax + 0x3c4], 0
jmp 0x403736
cmp ecx, 0x554d4150
jne 0x405545
mov byte [eax + 0x3c4], 1
mov ecx, dword [0x4ab3a4]
mov eax, 0x302
cmp word [ecx + 4], ax
je 0x403751
mov edi, 0x13
jmp 0x40554e
cmp dword [ebp - 0x174], 0
jne 0x40376f
mov eax, dword [ecx + 8]
cmp eax, dword [0x4a9d88]
je 0x40376f
mov edi, 0x13
jmp 0x40554e
xor eax, eax
mov word [ebp - 0x164], ax
nop dword [eax + eax]
push 8
lea eax, [ebp - 0x164]
push eax
push dword [ecx + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
cmp dword [ebp - 0x160], eax
je 0x404e74
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1144]
mov esi, eax
mov dword [ebp - 0x17c], edx
add esi, dword [ebp - 0x160]
mov dword [ebp - 0x1bc], esi
movzx esi, word [ebp - 0x164]
adc dword [ebp - 0x17c], edi
cmp esi, 0x3333
ja 0x404dcf
je 0x404b77
sub esi, 0x2223
cmp esi, 0x37
ja case.0x40380d.8741
movzx eax, byte [esi + 0x405634]
jmp dword [eax*4 + 0x4055a4]
mov ecx, dword [0x4ab3a4]
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.004281d0
mov esi, dword [ebp - 0x174]
mov edi, eax
mov ecx, dword [0x4ab3a4]
add esp, 0x10
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test esi, esi
jne 0x403871
mov eax, 0x200
test word [ecx + 0x16], ax
je 0x403871
mov eax, 1
mov word [0x4ab51c], ax
lea edx, [ecx + 0xd0]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432550
test eax, eax
je 0x4038fc
mov ecx, dword [0x4ab3a4]
test byte [ecx + 0x16], 4
jne 0x4038a3
lea edx, [ecx + 0xd4]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432550
push 1
push pe_nt_image_headers32
call fcn.0047122f
mov ecx, eax
add esp, 8
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x26c], ecx
test esi, esi
jne 0x4038e1
mov ecx, dword [0x4ab130]
test ecx, ecx
je 0x4038e1
mov eax, dword [0x4ab3a4]
mov edx, 0x800
test word [eax + 0x16], dx
jne 0x4038e1
push 1
call ecx
mov eax, dword [0x4ab3a4]
test byte [eax + 0x14], 0x10
je 0x404e03
mov byte [eax + 0x3d0], 1
jmp 0x404e03
mov edi, 8
jmp 0x4054ea
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push 0
push 0
push 4
lea eax, [ecx + 0x3c0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004281d0
add esp, 0x10
jmp 0x404df5
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push 0
push 0
push 4
lea eax, [ecx + 0x3e8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004281d0
mov esi, dword [0x4ab3a4]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x158], esi
cmp byte [esi + 0x3ec], 0
je 0x403991
push dword [esi + 0x3f0]
call fcn.004719de
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 0x403a5a
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 0x403a54
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
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4039e0
mov eax, dword [0x498da0]
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 0x403a00
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 0x403a45
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 0x403a4e
xor eax, eax
mov word [ebp - 0x100], ax
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x158]
lea ecx, [ebp - 0x100]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403a63
sub ecx, edx
sar ecx, 1
je 0x404e03
lea eax, [ebp - 0x100]
push eax
push 0
call fcn.00471a96
add esp, 8
mov dword [esi + 0x3f0], eax
mov byte [esi + 0x3ec], 1
jmp 0x404e03
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0x80]
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x164]
push eax
call fcn.00428660
add esp, 0xc
jmp 0x404df5
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0x8c]
jmp 0x403aaa
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x90]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
cmp byte [eax + 0x3c4], 0
jne 0x404e03
lea ecx, [eax + 0x90]
call fcn.00403110
jmp 0x404e03
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
mov dword [ebp - 0x1b4], 1
lea eax, [ecx + 0x88]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
mov esi, dword [eax + 0x26c]
test esi, esi
je 0x403cbe
push dword [eax + 0x80]
mov edx, esi
mov byte [ebp - 0x16d], 0
mov ecx, eax
mov byte [ebp - 0x16e], 0
call fcn.00403170
mov eax, dword [ebp - 0x154]
add esp, 4
mov edx, esi
mov ecx, eax
push dword [eax + 0x8c]
call fcn.00403170
mov eax, dword [ebp - 0x154]
add esp, 4
mov edx, esi
mov ecx, eax
push dword [eax + 0x88]
call fcn.00403170
add esp, 4
lea eax, [esi + 0x80]
push 0x80
push 0
push eax
call fcn.0046f0c0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403be8
sub ecx, edx
mov dh, 0x36
mov byte [ebp - 0x1c0], dh
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x15c], eax
cmp eax, 2
jl 0x403c82
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 - 0x16e]
xor byte [esi + 1], dh
add byte [ebp - 0x16d], 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 - 0x16e], dl
sub edi, 1
jne 0x403c18
mov edi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x16c]
jmp 0x403c84
mov dl, cl
cmp ecx, eax
jge 0x403ca8
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 0x403cae
mov ecx, dword [ebp - 0x1c0]
add dl, byte [ebp - 0x16d]
mov eax, dword [ebp - 0x154]
add dl, cl
mov byte [esi], dl
cmp byte [eax + 0x3c4], 0
jne 0x404e03
cmp dword [eax + 0x80], 0
lea ecx, [eax + 0x80]
je 0x403ce5
call fcn.00403110
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x8c], 0
lea ecx, [eax + 0x8c]
je 0x403cff
call fcn.00403110
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x88], 0
lea ecx, [eax + 0x88]
je 0x404e03
call fcn.00403110
jmp 0x404e03
cmp dword [ebp - 0x1b4], 0
jne 0x403d49
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
sub eax, 8
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x1b8], eax
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0x94]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
cmp byte [eax + 0x3c4], 0
jne 0x404e03
lea ecx, [eax + 0x94]
call fcn.00403110
jmp 0x404e03
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xa4]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
cmp byte [eax + 0x3c4], 0
jne 0x404e03
lea ecx, [eax + 0xa4]
call fcn.00403110
jmp 0x404e03
cmp dword [ebp - 0x174], 0
je case.0x40380d.8741
cmp dword [ebx + 0x10], 0
jge case.0x40380d.8741
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
lea eax, [ecx + 0xa8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
mov ecx, dword [0x4ab3a4]
mov ecx, dword [ecx + 0xa8]
call fcn.00403040
mov ecx, dword [0x4ab3a4]
mov dword [ecx + 0xac], eax
jmp case.0x40380d.8741
mov eax, dword [0x4ab3a4]
mov dword [eax + 0x260], 0
mov ecx, dword [0x4ab3a4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x260]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x164]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
jmp case.0x40380d.8741
mov eax, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
mov dword [eax + 0x274], 0
mov ecx, dword [0x4ab3a4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x274]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x15c], eax
cmp byte [eax + 0x3c4], 0
jne case.0x40380d.8741
mov esi, dword [eax + 0x274]
test esi, esi
je case.0x40380d.8741
cmp dword [esi], edi
je case.0x40380d.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
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 - 0x150]
mov eax, dword [ebp - 0x16c]
push 1
push eax
call fcn.0047122f
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 - 0x150]
mov edx, dword [eax + 0x274]
push edx
call fcn.00471245
mov eax, dword [ebp - 0x15c]
add esp, 4
mov ecx, dword [ebp - 0x180]
mov dword [eax + 0x274], ecx
jmp case.0x40380d.8741
cmp dword [ebp - 0x174], 0
jne case.0x40380d.8741
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0xc0]
jmp 0x403aaa
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0xbc]
jmp 0x403aaa
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0x3bc]
jmp 0x403aaa
cmp dword [0x4ab368], 0
jne case.0x40380d.8741
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push 0x4ab368
mov ecx, dword [ecx + 0x9c]
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
cmp byte [eax + 0x3c4], 0
jne 0x404e03
mov ecx, 0x4ab368
call fcn.00403110
jmp 0x404e03
mov esi, dword [ebp - 0x1b8]
mov dword [ebp - 0x184], 0
test esi, esi
je case.0x40380d.8741
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
sub eax, esi
sub eax, 8
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x1ac]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 4
push eax
call fcn.004281d0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
mov eax, dword [0x4ab3a4]
xor byte [ebp - 0x1ac], 0xd
push esi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4ab3a4]
xor esi, esi
push 0x8000
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x180], eax
call fcn.0046dc25
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
test eax, eax
je 0x404251
nop word [eax + eax]
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 0x404245
mov edx, dword [ebp - 0x158]
shr edi, 2
test edi, edi
je 0x4041f4
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 0x4041e0
mov eax, dword [ebp - 0x16c]
mov edi, 0
and eax, 3
mov dword [ebp - 0x168], eax
jbe 0x404227
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 - 0x168]
jb 0x404210
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
jne 0x4041b0
mov edi, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x158]
push 0x8000
push 0
push ecx
call fcn.0046f0c0
add esp, 0xc
push dword [ebp - 0x158]
call fcn.0046dc2e
add esp, 4
cmp esi, dword [ebp - 0x1ac]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
je 0x404e56
mov dword [ebp - 0x184], 1
jmp 0x404e56
xor edx, edx
lea ecx, [ebp - 0x164]
call fcn.00426ca0
jmp 0x404df5
mov edx, 1
lea ecx, [ebp - 0x164]
call fcn.00426ca0
jmp 0x404df5
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ebp - 0x158]
push eax
lea edx, [ebp - 0x164]
mov dword [ebp - 0x158], 0
mov ecx, dword [ecx + 0x9c]
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404dfd
mov eax, dword [ebp - 0x158]
movzx edx, word [eax]
mov dword [ebp - 0x16c], edx
test dx, dx
je 0x404357
mov eax, dword [0x4ab3a4]
movzx esi, dx
shl esi, 4
push 1
push esi
mov dword [ebp - 0x168], eax
call fcn.0047122f
add esp, 8
test eax, eax
jne 0x404339
call fcn.00479f45
push 1
push esi
call fcn.0047122f
add esp, 8
mov ecx, dword [ebp - 0x168]
mov dword [ecx + 0xe8], eax
test eax, eax
jne 0x404351
lea edi, [eax + 8]
jmp 0x40440e
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4ab3a4]
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 - 0x14c], ecx
cmp ax, dx
jae 0x404413
nop dword [eax]
cmp word [ecx], 0
je 0x4043ed
mov eax, dword [0x4ab3a4]
movzx esi, word [ecx + 2]
add esi, ecx
cmp byte [eax + 0x3c4], 0
jne 0x4043b5
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.00437910
mov ecx, dword [0x4ab3a4]
mov edi, eax
cmp byte [ecx + 0x3c4], 0
jne 0x4043dd
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1036]
test edi, edi
jne 0x40440e
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0x16c]
movzx eax, word [ecx]
add ecx, eax
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x15c], eax
cmp ax, dx
jb 0x404390
test edi, edi
je 0x404413
call fcn.00437b40
push dword [ebp - 0x158]
call fcn.00471245
add esp, 4
jmp 0x404df7
mov eax, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push 0
push ecx
mov dword [eax + 0x3c8], 0
mov ecx, dword [0x4ab3a4]
lea eax, [ecx + 0x3c8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
mov eax, dword [0x4ab3a4]
mov esi, dword [eax + 0x3c8]
mov dword [ebp - 0x168], esi
test esi, esi
je case.0x40380d.8741
mov esi, dword [esi]
test esi, esi
je case.0x40380d.8741
mov edi, dword [ebp - 0x168]
lea edx, [edi + 4]
nop dword [eax + eax]
mov eax, dword [edx]
test eax, eax
je 0x4044d2
lea ecx, [eax + edi]
mov eax, dword [ecx + 0xc]
test al, 0xf
je 0x4044bf
mov eax, dword [0x4ab3a4]
mov byte [eax + 0x3d0], 1
mov eax, dword [ecx + 0xc]
test eax, 0x100
je 0x4044d2
mov eax, dword [0x4ab3a4]
mov byte [eax + 0x3f8], 1
add edx, 4
sub esi, 1
jne 0x4044a0
mov edi, dword [ebp - 0x150]
jmp case.0x40380d.8741
push 0
push ecx
mov ecx, dword [0x4ab3a4]
lea eax, [ebp - 0x198]
jmp 0x403e8a
mov esi, dword [ebp - 0x154]
test byte [esi + 0x1a], 8
je 0x404539
test dword [esi + 0x1b0], 0x4000
jne 0x404539
mov dword [esi + 0x250], 0
mov dword [esi + 0x24c], 0
mov dword [esi + 0x248], 0
mov dword [esi + 0x244], 0
lea edx, [ebp - 0x164]
mov ecx, esi
call fcn.0043a9b0
jmp 0x404df5
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x164]
sub esp, 8
mov ecx, dword [eax + 0x9c]
lea esi, [eax + 0x40c]
push 0
push esi
call fcn.00428b20
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4045eb
mov eax, dword [ebp - 0x154]
mov edx, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404dfd
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 - 0x168], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4045b5
sub ecx, dword [ebp - 0x168]
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 0x4045a0
mov edi, dword [ebp - 0x150]
jmp 0x404dfd
call fcn.0043ab70
jmp 0x404dfd
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x164]
sub esp, 8
mov ecx, dword [eax + 0x9c]
lea esi, [eax + 0x410]
push 0
push esi
call fcn.00428b20
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4045eb
mov eax, dword [ebp - 0x154]
mov esi, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404dfd
xor ecx, ecx
mov dword [ebp - 0x14c], 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 0x4046ef
mov dword [eax + ecx + 0x24], esi
test esi, esi
je 0x4046ed
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x4046e7
cmp ecx, 0xffffffff
je 0x4046e7
mov eax, dword [0x4ab3a4]
mov eax, dword [eax + 0x3c8]
test eax, eax
je 0x4046e7
cmp ecx, dword [eax]
jae 0x4046e7
mov ecx, dword [eax + ecx*4 + 4]
test ecx, ecx
je 0x4046e7
add eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4046e7
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 0x4046e1
mov eax, dword [ebp - 0x15c]
cmp byte [ecx + eax], 3
jne 0x4046d5
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 0x4046c2
mov edx, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x14c]
add esi, edx
mov eax, dword [ebp - 0x154]
inc edi
add ecx, 0x2c
mov dword [ebp - 0x14c], ecx
cmp edi, dword [eax + 0x190]
jl 0x404645
mov edi, dword [ebp - 0x150]
jmp 0x404dfd
mov esi, dword [ebp - 0x154]
push dword [esi + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [esi + 0x404], eax
jmp case.0x40380d.8741
mov ecx, dword [ebp - 0x154]
lea edx, [ebp - 0x164]
sub esp, 8
lea eax, [ecx + 0x408]
mov ecx, dword [ecx + 0x9c]
push 0
push eax
call fcn.00428b20
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404dfd
mov eax, dword [ebp - 0x154]
xor edx, edx
cmp dword [eax + 0x190], edx
jle 0x404dfd
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 0x404780
mov edi, dword [ebp - 0x150]
jmp 0x404dfd
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x4047d8
test dword [esi + 0x1b0], 0x4000
je case.0x40380d.8741
sub esp, 8
lea eax, [esi + 0x414]
push eax
lea eax, [esi + 0x41c]
mov ecx, dword [esi + 0x9c]
lea edx, [ebp - 0x164]
push eax
call fcn.00428b20
add esp, 0x10
jmp 0x404df5
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x404821
test dword [esi + 0x1b0], 0x4000
je case.0x40380d.8741
sub esp, 8
lea eax, [esi + 0x418]
push eax
lea eax, [esi + 0x420]
jmp 0x4047e8
cmp dword [0x4ab13c], 0
je case.0x40380d.8741
call fcn.00402880
call fcn.00406f20
jmp case.0x40380d.8741
mov ecx, dword [0x4ab3a4]
lea edx, [ebp - 0x164]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xcc]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
push dword [eax + 0xcc]
call fcn.00479f5b
add esp, 4
shr eax, 1
movzx ecx, ax
mov eax, dword [0x4ab3a4]
mov dword [eax + 0xc8], ecx
jmp 0x404e03
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
lea eax, [ebp - 0x1b0]
push 4
push eax
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
cmp dword [ebp - 0x1b0], eax
je 0x404e56
mov ecx, dword [0x4ab3a4]
mov dword [ebp - 0x15c], edi
movzx eax, word [ecx + 0x1a]
mov edx, eax
and eax, 0xffbf
mov word [ecx + 0x1a], ax
mov dword [ebp - 0x168], edx
cmp dword [ebp - 0x1b0], edi
jle 0x404ada
nop dword [eax + eax]
push 2
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404ada
push 0x220
call fcn.0046d9ec
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 + 0x20c], eax
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x218], eax
mov ecx, dword [0x4ab3a4]
cmp byte [ecx + 0x3c4], al
movzx eax, word [ebp - 0x178]
jne 0x4049f0
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 - 0x150], edi
mov dword [ebp - 0x14c], edi
cmp eax, 0x105
jae 0x40559e
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 0x404a1b
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 - 0x150], eax
mov dword [ebp - 0x14c], eax
xor ecx, ecx
movzx eax, word [ebp - 0x178]
mov word [esi + eax*2], cx
push esi
push 0
call fcn.00428ee0
test edi, edi
jne 0x404ad2
push 4
lea eax, [esi + 0x20c]
push eax
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404ad2
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1144]
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], edx
mov ecx, dword [0x4ab3a4]
push esi
lea ecx, [ecx + 0x168]
call dword [sym.imp.MMFS2.dll_Ordinal_333]
mov eax, dword [0x4ab3a4]
push edi
push dword [esi + 0x20c]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1146]
mov esi, dword [ebp - 0x15c]
inc esi
cmp esi, dword [ebp - 0x1b0]
mov dword [ebp - 0x15c], esi
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
jl 0x404920
mov eax, dword [0x4ab3a4]
mov ecx, dword [ebp - 0x168]
mov word [eax + 0x1a], cx
jmp 0x404e03
push ecx
mov ecx, esi
call fcn.00405670
mov eax, dword [0x4ab3a4]
mov ecx, dword [ebp - 0x168]
mov word [eax + 0x1a], cx
jmp 0x404e03
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [0x4ab144], eax
mov eax, dword [ebp - 0x160]
mov dword [0x4ab140], eax
jmp case.0x40380d.8741
mov ecx, dword [0x4ab3a4]
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 0x4054ea
mov ecx, dword [0x4ab3a4]
push 4
lea eax, [ecx + 0x3dc]
push eax
push dword [ecx + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x4054ea
jmp 0x404e56
mov edi, 0x13
jmp 0x4054ea
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4ab3a4]
mov edx, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xd0]
mov dword [ecx + edx*4], eax
mov eax, dword [0x4ab3a4]
cmp dword [eax + 0xd4], 0
jne 0x404bb8
cmp dword [ebp - 0x194], 0
jne 0x404cdf
xor eax, eax
xor esi, esi
mov word [ebp - 0x190], ax
push 8
lea eax, [ebp - 0x190]
push eax
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404cdf
cmp dword [ebp - 0x18c], eax
je 0x404ccd
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1144]
add eax, dword [ebp - 0x18c]
mov ecx, edx
mov dword [ebp - 0x180], eax
adc ecx, edi
mov dword [ebp - 0x168], ecx
movzx ecx, word [ebp - 0x190]
sub ecx, 0x3334
je 0x404d7f
sub ecx, 2
je 0x404cef
sub ecx, 1
jne 0x404ca3
cmp dword [ebp - 0x194], ecx
jne 0x404ca3
mov ecx, dword [0x4ab3a4]
lea eax, [ebp - 0x19c]
lea edx, [ebp - 0x190]
push dword [ecx + 0x26c]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404cdf
mov ecx, dword [ebp - 0x19c]
add ecx, 4
mov edx, ecx
call fcn.00406cf0
mov dword [ebp - 0x194], 1
test esi, esi
je 0x404cb0
cmp dword [ebp - 0x194], 0
jne 0x404cdf
push dword [ebp - 0x168]
mov eax, dword [0x4ab3a4]
push dword [ebp - 0x180]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1145]
mov eax, 0x7f7f
cmp word [ebp - 0x190], ax
jne 0x404bc3
mov eax, dword [0x4ab3a4]
inc dword [eax + 0xc4]
jmp 0x404e03
mov ecx, dword [0x4ab3a4]
cmp dword [ecx + 0xd4], 0
je 0x404d75
push dword [ecx + 0x26c]
lea eax, [ebp - 0x1a4]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x190]
push eax
call fcn.00428660
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404cdf
mov edx, dword [ebp - 0x1a4]
test edx, edx
je 0x404d75
mov eax, dword [0x4ab3a4]
cmp byte [eax + 0x3c4], 0
jne 0x404d60
lea ecx, [ebp - 0x1a4]
call fcn.00403110
mov eax, dword [0x4ab3a4]
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xd4]
inc dword [ebp - 0x1a0]
mov dword [eax + ecx*4], edx
mov esi, 1
jmp 0x404ca7
mov ecx, dword [0x4ab3a4]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x190]
push dword [ecx + 0x26c]
mov ecx, dword [ecx + 0x9c]
push 0
push 0x10
push eax
call fcn.004281d0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404cdf
test byte [ebp - 0x20], 0x40
jne 0x404ca3
lea esi, [eax + 1]
jmp 0x404ca7
cmp esi, 0x6669
ja case.0x40380d.8741
cmp esi, 0x6666
jae 0x404e0c
lea eax, [esi - 0x5555]
cmp eax, 3
ja case.0x40380d.8741
lea ecx, [ebp - 0x164]
call fcn.00439720
mov edi, eax
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
test edi, edi
je case.0x40380d.8741
jmp 0x4054ea
mov ecx, dword [0x4ab3a4]
mov eax, dword [ecx + 0x9c]
mov dword [ecx + esi*4 - 0x1989c], eax
mov eax, dword [0x4ab3a4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1144]
mov ecx, dword [0x4ab3a4]
xor edi, edi
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], edi
mov dword [ecx + 0x430], eax
mov dword [ecx + 0x434], edx
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
mov edx, dword [ebp - 0x17c]
mov eax, dword [0x4ab3a4]
push edx
push dword [ebp - 0x1bc]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_1145]
mov eax, 0x7f7f
cmp word [ebp - 0x164], ax
je 0x404e8d
mov ecx, dword [0x4ab3a4]
jmp 0x403780
test edi, edi
jne 0x4054ea
cmp dword [ebp - 0x1a0], edi
jne 0x404ebc
mov esi, dword [0x4ab3a4]
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x404ebc
push eax
call fcn.00471245
add esp, 4
mov dword [esi + 0xd4], edi
mov eax, dword [0x4ab3a4]
mov ecx, dword [ebp - 0x188]
mov dword [eax + 0x1e8], ecx
mov ecx, dword [0x4ab3a4]
mov ecx, dword [ecx + 0xc0]
call fcn.00458fd0
mov eax, dword [0x4ab3a4]
mov eax, dword [eax + 0x3bc]
test dword [eax], 0x8000000
je 0x404f58
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x404f58
cmp dword [ebp - 0x138], 2
jne 0x404f58
cmp dword [ebp - 0x144], 5
jb 0x404f58
push 0x498da4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x404f51
push str.ImmDisableIME
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404f4a
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 0x4051a3
cmp dword [ebp - 0x184], ecx
jne 0x4051a3
mov eax, dword [ebp - 0x19c]
test eax, eax
je 0x404fa6
mov esi, dword [0x4ab388]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
push dword [0x4ab36c]
mov dword [0x4ab388], eax
call dword [sym.imp.MMFS2.dll_Ordinal_121]
test esi, esi
je 0x404fa6
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4ab370]
mov esi, dword [0x4ab538]
mov dword [ebp - 0x218], eax
mov eax, dword [0x4ab510]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0x4c
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1f4], str.Mf2MainClassTh
test eax, eax
je 0x405036
mov dword [ebp - 0x210], eax
mov eax, dword [0x4ab534]
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x1fc], 0x42000000
jmp 0x405086
mov eax, esi
mov dword [ebp - 0x210], 0
cdq
and edx, 3
mov dword [ebp - 0x1fc], 0x2cf0000
add eax, edx
sar eax, 2
mov dword [ebp - 0x200], eax
mov eax, dword [0x4ab534]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x204], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x208], eax
mov eax, dword [0x4ab534]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20c], eax
xor ecx, ecx
mov eax, dword [0x4ab3a4]
mov dword [ebp - 0x1f8], 0x498e94
mov dword [ebp - 0x1f0], ecx
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x4050d5
test byte [edx], 0x20
mov edx, 0x2000
cmovne ecx, edx
mov dword [ebp - 0x1f0], ecx
mov eax, dword [eax + 0x3bc]
test byte [eax], 0x80
je 0x4050d5
or ecx, 0x500000
mov dword [ebp - 0x1f0], ecx
lea eax, [esi + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
mov dword [ebp - 0x1ec], eax
call esi
push 4
lea edi, [eax*2 + 0x10]
call esi
add eax, dword [0x4ab534]
add eax, edi
mov dword [ebp - 0x1dc], 2
push 4
mov dword [ebp - 0x1e8], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x1e0], eax
xor ecx, ecx
mov eax, dword [0x4ab3a4]
mov edx, 0x4000
mov dword [ebp - 0x1d8], ecx
test word [eax + 0x16], dx
mov eax, 0x200
cmovne ecx, eax
lea eax, [ebp - 0x220]
push eax
push dword [0x4ab36c]
mov dword [ebp - 0x1d8], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_1080]
mov dword [0x4ab378], eax
cmp eax, 0x20
ja 0x40516e
mov dword [0x4ab378], 0
mov edi, 2
jmp 0x4054ea
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_18]
push 0x7f00
push 0
mov dword [0x4ab380], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.004028c0
mov edi, eax
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x4054ea
mov eax, dword [0x4ab3a4]
mov ecx, 0xc000
test word [eax + 0x1a], cx
je 0x4051ec
test byte [0x4ab38c], 0x40
jne 0x4051ec
cmp dword [ebp - 0x198], 0
je 0x4051fa
mov esi, dword [ebp - 0x154]
mov eax, dword [esi + 0x3c8]
test eax, eax
je 0x4051de
push eax
call fcn.00471245
add esp, 4
mov eax, dword [ebp - 0x198]
mov dword [esi + 0x3c8], eax
jmp 0x4051fa
push dword [ebp - 0x198]
call fcn.00471245
add esp, 4
mov eax, dword [0x4ab3a4]
mov ecx, dword [0x4ab374]
mov dword [eax + 0x1c4], ecx
call fcn.00402ae0
test eax, eax
jne 0x40521c
or edi, 0xffffffff
jmp 0x4054ea
mov eax, dword [0x4ab3a4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405263
cmp dword [ebp - 0x1a0], 0
jne 0x405263
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 0x405269
mov eax, dword [0x4ab3a4]
push 0
push 0x3f3
push dword [eax + 0xb0]
call esi
jmp 0x405269
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [0x4ab3a4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405311
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x405311
mov eax, dword [0x4ab3a4]
mov ecx, 0x1000
test word [eax + 0x14], cx
jne 0x405311
push 0
push 0x401
push dword [eax + 0xb0]
call esi
mov eax, dword [0x4ab3a4]
push 1
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x405311
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
test esi, esi
jle 0x405311
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 0x40530b
push 0x400
dec esi
push esi
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
test esi, esi
jg 0x4052e2
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp - 0x174]
test esi, esi
jne 0x40534e
mov eax, dword [0x4ab3a4]
test byte [eax + 0x16], 8
je 0x40534e
push esi
push esi
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_31]
push 4
push dword [0x4ab378]
call esi
push 0
or eax, 4
push eax
push 2
push dword [0x4ab378]
call esi
mov esi, dword [ebp - 0x174]
mov ecx, dword [0x4ab380]
test esi, esi
je 0x40535e
mov ecx, dword [esi + 0x1d0]
cmp dword [ebp - 0x184], 0
jne 0x40537f
push dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00447fd0
mov edi, eax
add esp, 4
test edi, edi
jne 0x4054ea
test esi, esi
jne 0x4053a0
mov eax, dword [0x4ab3a4]
mov ecx, 0x800
test word [eax + 0x14], cx
je 0x4053a0
lea ecx, [esi + 1]
call fcn.00458570
call fcn.00402ae0
test byte [0x4ab38c], 0x40
je 0x4054ea
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x41c], 0
je 0x4054ea
mov ecx, dword [esi + 0x420]
test ecx, ecx
je 0x4054ea
mov eax, dword [esi + 0x418]
add eax, dword [esi + 0x414]
push eax
push ecx
call fcn.0047123a
mov esi, eax
add esp, 8
test esi, esi
je 0x4054b4
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.00470cb0
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 0x405467
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 0x405442
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x188]
mov ecx, dword [esi + 0x418]
jmp 0x40546d
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
mov eax, ecx
je 0x405488
test dword [esi + 0x1b0], 0x4000
jne 0x405488
xor esi, esi
jmp 0x40548f
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 [0x4ab374]
call dword [sym.imp.MMFS2.dll_Ordinal_1105]
jmp 0x4054ba
mov esi, dword [ebp - 0x154]
push dword [esi + 0x41c]
call fcn.00471245
add esp, 4
mov dword [esi + 0x41c], 0
push dword [esi + 0x420]
call fcn.00471245
add esp, 4
mov dword [esi + 0x420], 0
mov eax, dword [ebp - 0x19c]
test eax, eax
je 0x4054fd
push eax
call fcn.00471245
add esp, 4
test edi, edi
jne 0x40554c
mov ecx, dword [0x4ab3a4]
test ecx, ecx
je 0x405529
mov eax, dword [ecx + 0x1d0]
mov dword [0x4ab384], eax
mov eax, dword [ecx + 0x1d4]
mov dword [0x4ab37c], eax
mov eax, dword [ebp - 0x1a8]
jmp 0x405580
mov eax, dword [ebp - 0x1a8]
mov dword [0x4ab384], 0
mov dword [0x4ab37c], 0
jmp 0x405580
mov edi, 0x14
jmp 0x40554e
jle 0x405568
test byte [0x4ab51e], 1
je 0x405568
push ecx
mov ecx, dword [0x4ab380]
mov edx, edi
call fcn.00447d90
add esp, 4
mov ecx, dword [ebp - 0x154]
call fcn.004056c0
mov ecx, dword [ebp - 0x1c4]
call fcn.00402c10
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.0046d741
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0046db4b
nop
adc al, 0x38
inc eax
add byte [ebx + 0x3f00403a], bl
inc eax
inc eax
add byte [eax - 0x6fffbfc0], cl
inc edx
inc eax
add byte [ebp + 0x4b], ch
inc eax
add byte [ebx], dh
dec eax
inc eax
add byte [edi + 0x48], cl
inc eax
add dh, ch
dec edx
inc eax
add byte [0x1c00403b], ch
cmp eax, 0x3d9d0040
inc eax
add byte [eax + 0x3e], ch
inc eax
add byte [edx - 0x5dffbfc2], bh
inc edx
inc eax
add ch, dh
cmp eax, 0x48ad0040
inc eax
add byte [eax + 0x40], ah
inc eax
add ch, dl
cmp al, byte [eax]
les edi, [edx]
inc eax
add byte [edi - 0x19ffbfbe], dh
inc eax
inc eax
add byte [esi], ah
inc esp
inc eax
add byte [eax + eax*2 + 0x40], dh
add byte [esi], al
cmp dword [eax], eax
adc al, 0x4b
inc eax
add byte [edx], dh
cmp dword [eax], eax
stc
inc esp
inc eax
add byte [ebx + 0x45], cl
inc eax
add ch, dh
inc ebp
inc eax
add byte [esi], dl
inc edi
inc eax
add byte [ebx], dh
inc edi
inc eax
add byte [edx], al
dec eax
inc eax
add byte [ecx - 0x1affbfb9], bh
inc esp
inc eax
add byte [eax + 0x4e], dl
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