Function at 0x403250
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 0x4995a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x208
mov eax, dword [0x4b2ca0]
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.0047aab9
mov edi, eax
add esp, 8
mov dword [ebp - 0x154], edi
test edi, edi
jne 0x403319
call fcn.00483f35
push 1
push 0x42c
call fcn.0047aab9
add esp, 8
mov dword [ebp - 0x154], eax
mov edi, eax
mov dword [ebp - 0x1ac], edi
test edi, edi
je 0x40572c
mov ecx, dword [0x4b6100]
test ecx, ecx
jne 0x40337a
push 1
push 0x28
call fcn.0047aab9
add esp, 8
test eax, eax
jne 0x403352
call fcn.00483f35
push 1
push 0x28
call fcn.0047aab9
add esp, 8
mov dword [0x4b6108], eax
test eax, eax
je 0x4033ee
mov ecx, dword [0x4b6100]
mov dword [0x4b6104], 0xa
mov dword [eax + ecx*4], edi
inc dword [0x4b6100]
jmp 0x4033ee
mov eax, dword [0x4b6104]
cmp ecx, eax
jl 0x4033d8
lea edi, [eax*4 + 0x28]
push edi
push dword [0x4b6108]
call fcn.0047aac4
add esp, 8
test eax, eax
jne 0x4033b5
call fcn.00483f35
push edi
push dword [0x4b6108]
call fcn.0047aac4
add esp, 8
test eax, eax
je 0x4033e8
mov ecx, dword [0x4b6100]
add dword [0x4b6104], 0xa
mov edi, dword [ebp - 0x154]
mov dword [0x4b6108], eax
mov dword [eax + ecx*4], edi
inc dword [0x4b6100]
jmp 0x4033ee
mov eax, dword [0x4b6108]
mov dword [eax + ecx*4], edi
inc dword [0x4b6100]
jmp 0x4033ee
mov edi, dword [ebp - 0x154]
mov ecx, edi
call fcn.00402c20
mov ecx, dword [0x4b60e4]
add ecx, 0x168
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1b8], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_255]
mov eax, dword [0x4b60e4]
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x194], 0
mov dword [eax + 0xfc], 0xffffffff
mov eax, dword [0x4b60e4]
mov dword [eax + 0x100], 0xffffffff
mov eax, dword [0x4b60e4]
mov dword [eax + 0x104], 0xffffffff
mov eax, dword [0x4b60e4]
mov dword [eax + 0x108], 0xffffffff
mov eax, dword [0x4b60e4]
mov dword [eax + 0x1f0], 0xffffffff
mov eax, dword [0x4b60e4]
mov dword [eax + 0x1a8], ecx
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3c0], 0
mov eax, dword [0x4b60e4]
mov byte [eax + 0x3ec], 0
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3d8], 0
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3dc], 3
mov eax, dword [0x4b60e4]
mov dword [eax + 0x3f4], 0x42e3d0
test edx, edx
je 0x403567
mov eax, dword [0x4b60e4]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x1b0], ecx
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 1
and eax, 1
mov dword [ecx + 0x244], eax
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 2
and eax, 1
mov dword [ecx + 0x248], eax
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x24c], eax
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1b0]
and eax, 1
mov dword [ecx + 0x250], eax
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x1b0]
shr eax, 0x13
and eax, 1
mov dword [ecx + 0x240], eax
test byte [0x4b60cc], 0x10
je 0x403567
test dword [edx + 0x10], 0x4100020
jne 0x403567
mov dword [edi + 0x3d4], 2
mov eax, dword [0x4b60e4]
xor edi, edi
mov dword [ebp - 0x158], edi
mov dword [eax + 0x424], 0
mov eax, dword [0x4b60e4]
mov byte [eax + 0x428], 0
mov eax, dword [0x4b60e4]
mov dword [eax + 0x9c], 0xffffffff
test esi, esi
jne 0x4035bf
mov esi, dword [0x4b60fc]
mov edi, dword [0x4b4a24]
mov dword [ebp - 0x158], edi
test esi, esi
je 0x405716
test edi, edi
je 0x405716
push 0
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov ecx, eax
mov eax, dword [0x4b60e4]
mov dword [eax + 0x9c], ecx
cmp ecx, 0xffffffff
jne 0x4035e8
lea edi, [ecx + 5]
mov dword [0x4b5ed0], esi
jmp 0x4056fc
test edi, edi
je 0x4036a2
cmp dword [ebp - 0x174], 0
jne 0x403690
cmp dword [0x4b5e78], 0
jne 0x403690
push 2
push 0x2624a0
call fcn.0047aab9
add esp, 8
mov dword [0x4b5e78], eax
push 0x104
push eax
push dword [0x4b60b0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push dword [0x4b5e78]
call dword [sym.imp.MMFS2.dll_Ordinal_1033]
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
je 0x403690
push 0x100
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_430]
push 0x2624a0
push dword [0x4b5e78]
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 0x40368a
cmp edi, 0x40000002
jne 0x4056ab
mov edi, dword [ebp - 0x158]
mov eax, dword [0x4b60e4]
push edi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4b60e4]
push 0x10
mov dword [eax + 0x84], esi
mov eax, dword [0x4b60e4]
mov esi, dword [ebp - 0x154]
push esi
mov dword [eax + 0xa0], edi
mov eax, dword [0x4b60e4]
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 0x4056fa
mov eax, dword [0x4b60e4]
mov ecx, dword [eax]
cmp ecx, 0x454d4150
jne 0x403700
mov byte [eax + 0x3c4], 0
jmp 0x403713
cmp ecx, 0x554d4150
jne 0x4056f3
mov byte [eax + 0x3c4], 1
mov ecx, dword [0x4b60e4]
mov eax, 0x302
cmp word [ecx + 4], ax
je 0x40372e
mov edi, 0x13
jmp 0x4056fc
cmp dword [ebp - 0x174], 0
jne 0x40374c
mov eax, dword [ecx + 8]
cmp eax, dword [0x4b4a28]
je 0x40374c
mov edi, 0x13
jmp 0x4056fc
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 0x405698
cmp dword [ebp - 0x164], eax
je 0x405023
mov eax, dword [0x4b60e4]
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 0x404df0
je 0x404b9e
sub esi, 0x2223
cmp esi, 0x37
ja case.0x4037dc.8741
movzx eax, byte [esi + 0x4057e4]
jmp dword [eax*4 + 0x405754]
mov ecx, dword [0x4b60e4]
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.00428150
mov esi, dword [ebp - 0x174]
mov edi, eax
mov ecx, dword [0x4b60e4]
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test esi, esi
jne 0x403840
mov eax, 0x200
test word [ecx + 0x16], ax
je 0x403840
mov eax, 1
mov word [0x4b625c], ax
lea edx, [ecx + 0xd0]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432460
test eax, eax
je 0x4038ca
mov ecx, dword [0x4b60e4]
test byte [ecx + 0x16], 4
jne 0x403872
lea edx, [ecx + 0xd4]
mov ecx, dword [ecx + 0x74]
shl ecx, 2
call fcn.00432460
push 1
push 0x100
call fcn.0047aab9
mov ecx, dword [0x4b60e4]
add esp, 8
mov dword [ecx + 0x26c], eax
test esi, esi
jne 0x4038af
mov ecx, dword [0x4b5e70]
test ecx, ecx
je 0x4038af
mov eax, dword [0x4b60e4]
mov edx, 0x800
test word [eax + 0x16], dx
jne 0x4038af
push 1
call ecx
mov eax, dword [0x4b60e4]
test byte [eax + 0x14], 0x10
je 0x404fbf
mov byte [eax + 0x3d0], 1
jmp 0x404fbf
mov edi, 8
jmp 0x405698
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push 0
push 0
push 4
lea eax, [ecx + 0x3c0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428150
add esp, 0x10
mov edi, eax
jmp 0x404fb3
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push 0
push 0
push 4
lea eax, [ecx + 0x3e8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.00428150
mov esi, dword [0x4b60e4]
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 0x403961
push dword [esi + 0x3f0]
call fcn.0047b26e
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 0x403a2a
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 0x403a24
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 0x4039b0
mov eax, dword [0x4a3320]
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 0x4039d0
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 0x403a15
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 0x403a1e
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 0x403a33
sub ecx, edx
sar ecx, 1
je 0x404fbf
lea eax, [ebp - 0x100]
push eax
push 0
call fcn.0047b326
add esp, 8
mov dword [esi + 0x3f0], eax
mov byte [esi + 0x3ec], 1
jmp 0x404fbf
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x80]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
add esp, 0xc
mov edi, eax
jmp 0x404fb3
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x8c]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
add esp, 0xc
mov edi, eax
jmp 0x404fb3
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x90]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fbf
lea ecx, [eax + 0x90]
call fcn.00403110
jmp 0x404fbf
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
mov dword [ebp - 0x1b0], 1
lea eax, [ecx + 0x88]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
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 0x403caa
push dword [eax + 0x80]
mov edx, esi
mov byte [ebp - 0x16a], 0
mov ecx, eax
mov byte [ebp - 0x169], 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.00478670
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403bd4
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 0x403c6e
lea edi, [eax - 2]
shr edi, 1
inc edi
lea eax, [edi + edi]
mov dword [ebp - 0x170], 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 - 0x169]
xor byte [esi + 1], dh
add byte [ebp - 0x16a], 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 - 0x169], dl
sub edi, 1
jne 0x403c04
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x170]
jmp 0x403c70
mov dl, cl
cmp ecx, eax
jge 0x403c94
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 0x403c9a
mov ecx, dword [ebp - 0x1bc]
add dl, byte [ebp - 0x16a]
mov eax, dword [ebp - 0x154]
add dl, cl
mov byte [esi], dl
cmp byte [eax + 0x3c4], 0
jne 0x404fbf
cmp dword [eax + 0x80], 0
lea ecx, [eax + 0x80]
je 0x403cd1
call fcn.00403110
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x8c], 0
lea ecx, [eax + 0x8c]
je 0x403ceb
call fcn.00403110
mov eax, dword [ebp - 0x154]
cmp dword [eax + 0x88], 0
lea ecx, [eax + 0x88]
je 0x404fbf
call fcn.00403110
jmp 0x404fbf
cmp dword [ebp - 0x1b0], 0
jne 0x403d35
mov eax, dword [0x4b60e4]
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 [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x94]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fbf
lea ecx, [eax + 0x94]
call fcn.00403110
jmp 0x404fbf
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xa4]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fbf
lea ecx, [eax + 0xa4]
call fcn.00403110
jmp 0x404fbf
cmp dword [ebp - 0x174], 0
je case.0x4037dc.8741
cmp dword [ebx + 0x10], 0
jge case.0x4037dc.8741
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xa8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
mov ecx, dword [0x4b60e4]
mov ecx, dword [ecx + 0xa8]
call fcn.00403040
mov ecx, dword [0x4b60e4]
mov dword [ecx + 0xac], eax
jmp case.0x4037dc.8741
mov eax, dword [0x4b60e4]
mov dword [eax + 0x260], 0
mov ecx, dword [0x4b60e4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x260]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x168]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
jmp case.0x4037dc.8741
mov eax, dword [0x4b60e4]
lea edx, [ebp - 0x168]
mov dword [eax + 0x274], 0
mov ecx, dword [0x4b60e4]
push dword [ecx + 0x26c]
lea eax, [ecx + 0x274]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x15c], eax
cmp byte [eax + 0x3c4], 0
jne case.0x4037dc.8741
mov esi, dword [eax + 0x274]
test esi, esi
je case.0x4037dc.8741
cmp dword [esi], edi
je case.0x4037dc.8741
mov ecx, dword [esi]
mov eax, 4
add esi, eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x170], eax
test ecx, ecx
jle 0x403f82
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 - 0x170]
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x170], ecx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403f65
sub ecx, edx
inc esi
add esi, ecx
sub edi, 1
jne 0x403f40
mov edi, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x170]
push 1
push eax
call fcn.0047aab9
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 - 0x170], ecx
lea esi, [edx + 4]
jle 0x40400f
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 0x403fe8
sub ecx, edx
inc esi
add esi, ecx
sub dword [ebp - 0x158], 1
jne 0x403fc0
mov eax, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x14c]
mov edx, dword [eax + 0x274]
push edx
call fcn.0047aacf
mov eax, dword [ebp - 0x15c]
add esp, 4
mov ecx, dword [ebp - 0x180]
mov dword [eax + 0x274], ecx
jmp case.0x4037dc.8741
cmp dword [ebp - 0x174], 0
jne case.0x4037dc.8741
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xc0]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
add esp, 0xc
mov edi, eax
jmp 0x404fb3
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0xbc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
add esp, 0xc
mov edi, eax
jmp 0x404fb3
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
lea eax, [ecx + 0x3bc]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
add esp, 0xc
mov edi, eax
jmp 0x404fb3
cmp dword [0x4b60a8], 0
jne case.0x4037dc.8741
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push 0x4b60a8
mov ecx, dword [ecx + 0x9c]
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
cmp byte [eax + 0x3c4], 0
jne 0x404fbf
mov ecx, 0x4b60a8
call fcn.00403110
jmp 0x404fbf
mov esi, dword [ebp - 0x1b4]
mov dword [ebp - 0x184], 0
test esi, esi
je case.0x4037dc.8741
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b60e4]
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.00428150
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
mov eax, dword [0x4b60e4]
xor byte [ebp - 0x1a4], 0xd
push esi
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_430]
mov eax, dword [0x4b60e4]
xor esi, esi
push 0x8000
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x180], eax
call fcn.004774b7
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], ecx
test eax, eax
je 0x404276
nop
mov edi, 0x8000
cmp eax, edi
cmovb edi, eax
push edi
push ecx
push dword [ebp - 0x180]
mov dword [ebp - 0x160], edi
call dword [sym.imp.MMFS2.dll_Ordinal_425]
test eax, eax
jne 0x40426a
mov edx, dword [ebp - 0x158]
mov ecx, edi
shr ecx, 2
test ecx, ecx
je 0x404223
mov eax, esi
shr eax, 0x1f
lea esi, [eax + esi*2]
add esi, dword [edx]
add edx, 4
sub ecx, 1
jne 0x404211
mov eax, edi
mov edi, 0
and eax, 3
mov dword [ebp - 0x170], eax
jbe 0x40424c
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 - 0x170]
jb 0x404235
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], eax
jne 0x4041e0
mov edi, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x158]
push 0x8000
push 0
push ecx
call fcn.00478670
add esp, 0xc
push dword [ebp - 0x158]
call fcn.004774c0
add esp, 4
cmp esi, dword [ebp - 0x1a4]
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
je 0x40500c
mov dword [ebp - 0x184], 1
jmp 0x40500c
xor edx, edx
lea ecx, [ebp - 0x168]
call fcn.00426c00
mov edi, eax
jmp 0x404fb3
mov edx, 1
lea ecx, [ebp - 0x168]
call fcn.00426c00
mov edi, eax
jmp 0x404fb3
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea eax, [ebp - 0x158]
push eax
lea edx, [ebp - 0x168]
mov dword [ebp - 0x158], 0
mov ecx, dword [ecx + 0x9c]
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fb9
mov eax, dword [ebp - 0x158]
movzx edx, word [eax]
mov dword [ebp - 0x170], edx
test dx, dx
je 0x404380
mov eax, dword [0x4b60e4]
movzx esi, dx
shl esi, 4
push 1
push esi
mov dword [ebp - 0x160], eax
call fcn.0047aab9
add esp, 8
test eax, eax
jne 0x404362
call fcn.00483f35
push 1
push esi
call fcn.0047aab9
add esp, 8
mov ecx, dword [ebp - 0x160]
mov dword [ecx + 0xe8], eax
test eax, eax
jne 0x40437a
lea edi, [eax + 8]
jmp 0x404430
mov edx, dword [ebp - 0x170]
mov eax, dword [0x4b60e4]
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 0x404435
cmp word [ecx], 0
je 0x40440f
mov eax, dword [0x4b60e4]
movzx esi, word [ecx + 2]
add esi, ecx
cmp byte [eax + 0x3c4], 0
jne 0x4043d7
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.00437820
mov ecx, dword [0x4b60e4]
mov edi, eax
cmp byte [ecx + 0x3c4], 0
jne 0x4043ff
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1036]
test edi, edi
jne 0x404430
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0x170]
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 0x4043b2
test edi, edi
je 0x404435
call fcn.00437b60
push dword [ebp - 0x158]
call fcn.0047aacf
add esp, 4
jmp 0x404fb3
mov eax, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push 0
push ecx
mov dword [eax + 0x3c8], 0
mov ecx, dword [0x4b60e4]
lea eax, [ecx + 0x3c8]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
mov eax, dword [0x4b60e4]
mov esi, dword [eax + 0x3c8]
mov dword [ebp - 0x160], esi
test esi, esi
je case.0x4037dc.8741
mov esi, dword [esi]
test esi, esi
je case.0x4037dc.8741
mov edi, dword [ebp - 0x160]
lea edx, [edi + 4]
nop dword [eax]
mov eax, dword [edx]
test eax, eax
je 0x4044f2
lea ecx, [eax + edi]
mov eax, dword [ecx + 0xc]
test al, 0xf
je 0x4044df
mov eax, dword [0x4b60e4]
mov byte [eax + 0x3d0], 1
mov eax, dword [ecx + 0xc]
test eax, 0x100
je 0x4044f2
mov eax, dword [0x4b60e4]
mov byte [eax + 0x3f8], 1
add edx, 4
sub esi, 1
jne 0x4044c0
mov edi, dword [ebp - 0x14c]
jmp case.0x4037dc.8741
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea eax, [ebp - 0x190]
jmp 0x403e76
mov esi, dword [ebp - 0x154]
test byte [esi + 0x1a], 8
je 0x404559
test dword [esi + 0x1b0], 0x4000
jne 0x404559
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.0043a7a0
mov edi, eax
jmp 0x404fb3
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.00428aa0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x40460b
mov eax, dword [ebp - 0x154]
mov edx, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404fb9
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 0x4045d5
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 0x4045c0
mov edi, dword [ebp - 0x14c]
jmp 0x404fb9
call fcn.0043a960
jmp 0x404fb9
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.00428aa0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x40460b
mov eax, dword [ebp - 0x154]
mov esi, dword [esi]
cmp dword [eax + 0x190], edi
jle 0x404fb9
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 0x40470f
mov dword [eax + ecx + 0x24], esi
test esi, esi
je 0x40470d
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x404707
cmp ecx, 0xffffffff
je 0x404707
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0x3c8]
test eax, eax
je 0x404707
cmp ecx, dword [eax]
jae 0x404707
mov ecx, dword [eax + ecx*4 + 4]
test ecx, ecx
je 0x404707
add eax, ecx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x404707
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 - 0x170], ecx
jbe 0x404701
mov eax, dword [ebp - 0x15c]
cmp byte [ecx + eax], 3
jne 0x4046f5
mov ax, word [edx]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x15c]
inc ecx
add edx, 4
cmp ecx, dword [ebp - 0x170]
jb 0x4046e2
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 0x404665
mov edi, dword [ebp - 0x14c]
jmp 0x404fb9
mov esi, dword [ebp - 0x154]
push dword [esi + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [esi + 0x404], eax
jmp case.0x4037dc.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.00428aa0
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fb9
mov eax, dword [ebp - 0x154]
xor edx, edx
cmp dword [eax + 0x190], edx
jle 0x404fb9
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 0x4047a0
mov edi, dword [ebp - 0x14c]
jmp 0x404fb9
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x4047f8
test dword [esi + 0x1b0], 0x4000
je case.0x4037dc.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.00428aa0
add esp, 0x10
mov edi, eax
jmp 0x404fb3
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
je 0x404843
test dword [esi + 0x1b0], 0x4000
je case.0x4037dc.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.00428aa0
add esp, 0x10
mov edi, eax
jmp 0x404fb3
cmp dword [0x4b5e7c], 0
je case.0x4037dc.8741
call fcn.00402890
call fcn.004070e0
jmp case.0x4037dc.8741
mov ecx, dword [0x4b60e4]
lea edx, [ebp - 0x168]
push dword [ecx + 0x26c]
lea eax, [ecx + 0xcc]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
push dword [eax + 0xcc]
call fcn.00483f4b
add esp, 4
shr eax, 1
movzx ecx, ax
mov eax, dword [0x4b60e4]
mov dword [eax + 0xc8], ecx
jmp 0x404fbf
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_425]
lea eax, [ebp - 0x1a8]
push 4
push eax
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x405698
cmp dword [ebp - 0x1a8], eax
je 0x40500c
mov ecx, dword [0x4b60e4]
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 0x404b01
push 2
lea eax, [ebp - 0x178]
push eax
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call esi
mov edi, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404b01
push 0x218
call fcn.0047727e
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 [0x4b60e4]
cmp byte [ecx + 0x3c4], al
movzx eax, word [ebp - 0x178]
jne 0x404a1e
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 0x40574c
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 0x404a49
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.00428e60
test edi, edi
jne 0x404af9
push 4
lea eax, [esi + 0x20c]
push eax
mov eax, dword [0x4b60e4]
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 0x404af9
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [esi + 0x210], eax
mov ecx, dword [0x4b60e4]
push esi
lea ecx, [ecx + 0x168]
call dword [sym.imp.MMFS2.dll_Ordinal_333]
mov eax, dword [0x4b60e4]
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 0x404954
mov eax, dword [0x4b60e4]
mov ecx, dword [ebp - 0x160]
mov word [eax + 0x1a], cx
jmp 0x404fbf
push ecx
mov ecx, esi
call fcn.00405820
mov eax, dword [0x4b60e4]
mov ecx, dword [ebp - 0x160]
mov word [eax + 0x1a], cx
jmp 0x404fbf
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov dword [0x4b5e84], eax
mov eax, dword [ebp - 0x164]
mov dword [0x4b5e80], eax
jmp case.0x4037dc.8741
mov ecx, dword [0x4b60e4]
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 0x405698
mov ecx, dword [0x4b60e4]
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 0x405698
jmp 0x40500c
mov edi, 0x13
jmp 0x405698
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b60e4]
mov edx, dword [ecx + 0xc4]
mov ecx, dword [ecx + 0xd0]
mov dword [ecx + edx*4], eax
mov eax, dword [0x4b60e4]
cmp dword [eax + 0xd4], 0
jne 0x404bdf
cmp dword [ebp - 0x18c], 0
jne 0x404cfc
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 [0x4b60e4]
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 0x404cfc
cmp dword [ebp - 0x19c], eax
je 0x404cea
mov eax, dword [0x4b60e4]
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 0x404da0
sub ecx, 2
je 0x404d0c
sub ecx, 1
jne 0x404cc6
cmp dword [ebp - 0x18c], ecx
jne 0x404cc6
mov ecx, dword [0x4b60e4]
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x1a0]
push dword [ecx + 0x26c]
push ecx
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404cfc
mov ecx, dword [ebp - 0x198]
add ecx, 4
mov edx, ecx
call fcn.00406eb0
mov dword [ebp - 0x18c], 1
test esi, esi
je 0x404cd3
cmp dword [ebp - 0x18c], 0
jne 0x404cfc
mov eax, dword [0x4b60e4]
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 0x404bf0
mov eax, dword [0x4b60e4]
inc dword [eax + 0xc4]
jmp 0x404fbf
mov ecx, dword [0x4b60e4]
cmp dword [ecx + 0xd4], 0
je 0x404d96
push dword [ecx + 0x26c]
lea eax, [ebp - 0x17c]
push ecx
mov ecx, dword [ecx + 0x9c]
lea edx, [ebp - 0x1a0]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404cfc
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x404d96
mov eax, dword [0x4b60e4]
cmp byte [eax + 0x3c4], 0
jne 0x404d81
lea ecx, [ebp - 0x17c]
call fcn.00403110
mov eax, dword [0x4b60e4]
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 0x404cca
mov ecx, dword [0x4b60e4]
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.00428150
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], edi
test edi, edi
jne 0x404cfc
test byte [ebp - 0x20], 0x40
jne 0x404cc6
lea esi, [eax + 1]
jmp 0x404cca
cmp esi, 0x6669
ja case.0x4037dc.8741
cmp esi, 0x6666
jae 0x404fc8
lea eax, [esi - 0x5555]
cmp eax, 3
ja case.0x4037dc.8741
push 0
push ecx
mov ecx, dword [0x4b60e4]
lea eax, [esi - 0x550f]
lea edx, [ebp - 0x168]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx + 0x9c]
push eax
call fcn.004285e0
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x404fb9
mov eax, dword [0x4b60e4]
push dword [eax + esi*4 - 0x1543c]
call fcn.00483f4b
and eax, 0xfffffffc
add esp, 4
cmp eax, 0x3fffc
jbe 0x404e73
mov eax, 0xffff
jmp 0x404e8a
mov eax, dword [0x4b60e4]
push dword [eax + esi*4 - 0x1543c]
call fcn.00483f4b
add esp, 4
shr eax, 2
mov ecx, dword [0x4b60e4]
lea edx, [esi*2 - 0xa99a]
xor edi, edi
mov dword [ebp - 0x160], edx
mov word [edx + ecx], ax
xor eax, eax
mov ecx, dword [0x4b60e4]
mov esi, dword [ecx + esi*4 - 0x1543c]
cmp ax, word [edx + ecx]
jae 0x404f00
mov eax, dword [esi]
test eax, eax
je 0x404ef4
cmp dword [ecx + 0xc], 0x11b
mov edx, eax
jbe 0x404ede
cmp word [ecx + 0x14], 0
jge 0x404ede
lea edx, [eax - 0x100]
mov dword [esi], edx
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x10c]
add eax, edx
mov edx, dword [ebp - 0x160]
mov dword [esi], eax
mov ecx, dword [0x4b60e4]
movzx eax, word [edx + ecx]
inc edi
add esi, 4
cmp edi, eax
jb 0x404eb8
mov esi, dword [ebp - 0x180]
mov eax, 0x100
push 0x200
mov word [ecx + esi*2 - 0xa982], ax
mov eax, dword [0x4b60e4]
lea edi, [eax + esi*4]
call fcn.0047aaae
add esp, 4
test eax, eax
jne 0x404f3e
call fcn.00483f35
push 0x200
call fcn.0047aaae
add esp, 4
mov dword [edi - 0x15424], eax
test eax, eax
jne 0x404f4d
lea edi, [eax + 8]
jmp 0x404fb3
mov eax, dword [0x4b60e4]
push 0x200
push 0xff
push dword [eax + esi*4 - 0x15424]
call fcn.00478670
mov eax, dword [0x4b60e4]
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.0047aab9
add esp, 8
test eax, eax
jne 0x404fa1
call fcn.00483f35
push 1
push esi
call fcn.0047aab9
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.0x4037dc.8741
jmp 0x405698
mov ecx, dword [0x4b60e4]
mov eax, dword [ecx + 0x9c]
mov dword [ecx + esi*4 - 0x1989c], eax
mov eax, dword [0x4b60e4]
push dword [eax + 0x9c]
call dword [sym.imp.MMFS2.dll_Ordinal_423]
mov ecx, dword [0x4b60e4]
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 [0x4b60e4]
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 0x40503c
mov ecx, dword [0x4b60e4]
jmp 0x403755
test edi, edi
jne 0x405698
cmp dword [ebp - 0x194], edi
jne 0x40506b
mov esi, dword [0x4b60e4]
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x40506b
push eax
call fcn.0047aacf
add esp, 4
mov dword [esi + 0xd4], edi
mov eax, dword [0x4b60e4]
mov ecx, dword [ebp - 0x188]
mov dword [eax + 0x1e8], ecx
mov ecx, dword [0x4b60e4]
mov ecx, dword [ecx + 0xc0]
call fcn.00458bc0
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0x3bc]
test dword [eax], 0x8000000
je 0x405107
lea eax, [ebp - 0x148]
mov dword [ebp - 0x148], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405107
cmp dword [ebp - 0x138], 2
jne 0x405107
cmp dword [ebp - 0x144], 5
jb 0x405107
push 0x4a3324
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x405100
push str.ImmDisableIME
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4050f9
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 0x405352
cmp dword [ebp - 0x184], ecx
jne 0x405352
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x405155
mov esi, dword [0x4b60c8]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
push dword [0x4b60ac]
mov dword [0x4b60c8], eax
call dword [sym.imp.MMFS2.dll_Ordinal_121]
test esi, esi
je 0x405155
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4b60b0]
mov esi, dword [0x4b627c]
mov dword [ebp - 0x210], eax
mov eax, dword [0x4b6250]
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 0x4051e5
mov dword [ebp - 0x208], eax
mov eax, dword [0x4b6278]
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x1f4], 0x42000000
jmp 0x405235
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 [0x4b6278]
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 [0x4b6278]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x204], eax
xor ecx, ecx
mov eax, dword [0x4b60e4]
mov dword [ebp - 0x1f0], 0x4a3414
mov dword [ebp - 0x1e8], ecx
mov edx, dword [eax + 0x3bc]
test edx, edx
je 0x405284
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 0x405284
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 [0x4b6278]
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 [0x4b60e4]
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 [0x4b60ac]
mov dword [ebp - 0x1d0], ecx
call dword [sym.imp.MMFS2.dll_Ordinal_1080]
mov dword [0x4b60b8], eax
cmp eax, 0x20
ja 0x40531d
mov dword [0x4b60b8], 0
mov edi, 2
jmp 0x405698
push eax
call dword [sym.imp.MMFS2.dll_Ordinal_18]
push 0x7f00
push 0
mov dword [0x4b60c0], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.004028d0
mov edi, eax
mov dword [ebp - 0x14c], edi
test edi, edi
jne 0x405698
mov eax, dword [0x4b60e4]
mov ecx, 0xc000
test word [eax + 0x1a], cx
je 0x40539b
test byte [0x4b60cc], 0x40
jne 0x40539b
cmp dword [ebp - 0x190], 0
je 0x4053a9
mov esi, dword [ebp - 0x154]
mov eax, dword [esi + 0x3c8]
test eax, eax
je 0x40538d
push eax
call fcn.0047aacf
add esp, 4
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x3c8], eax
jmp 0x4053a9
push dword [ebp - 0x190]
call fcn.0047aacf
add esp, 4
mov eax, dword [0x4b60e4]
mov ecx, dword [0x4b60b4]
mov dword [eax + 0x1c4], ecx
call fcn.00402af0
test eax, eax
jne 0x4053cb
or edi, 0xffffffff
jmp 0x405698
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x405412
cmp dword [ebp - 0x194], 0
jne 0x405412
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 0x405418
mov eax, dword [0x4b60e4]
push 0
push 0x3f3
push dword [eax + 0xb0]
call esi
jmp 0x405418
mov esi, dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [0x4b60e4]
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x4054c0
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x4054c0
mov eax, dword [0x4b60e4]
mov ecx, 0x1000
test word [eax + 0x14], cx
jne 0x4054c0
push 0
push 0x401
push dword [eax + 0xb0]
call esi
mov eax, dword [0x4b60e4]
push 1
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x188], eax
test eax, eax
je 0x4054c0
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
test esi, esi
jle 0x4054c0
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 0x4054ba
push 0x400
dec esi
push esi
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
test esi, esi
jg 0x405491
mov edi, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x174]
test esi, esi
jne 0x4054fc
mov eax, dword [0x4b60e4]
test byte [eax + 0x16], 8
je 0x4054fc
push esi
push esi
push esi
mov esi, dword [sym.imp.MMFS2.dll_Ordinal_31]
push 4
push dword [0x4b60b8]
call esi
or eax, 4
push eax
push 2
push dword [0x4b60b8]
call esi
mov esi, dword [ebp - 0x174]
mov ecx, dword [0x4b60c0]
test esi, esi
je 0x40550c
mov ecx, dword [esi + 0x1d0]
cmp dword [ebp - 0x184], 0
jne 0x40552d
push dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
call fcn.00447d10
mov edi, eax
add esp, 4
test edi, edi
jne 0x405698
test esi, esi
jne 0x40554e
mov eax, dword [0x4b60e4]
mov ecx, 0x800
test word [eax + 0x14], cx
je 0x40554e
lea ecx, [esi + 1]
call fcn.00458160
call fcn.00402af0
test byte [0x4b60cc], 0x40
je 0x405698
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x41c], 0
je 0x405698
mov ecx, dword [esi + 0x420]
test ecx, ecx
je 0x405698
mov eax, dword [esi + 0x418]
add eax, dword [esi + 0x414]
push eax
push ecx
call fcn.0047aac4
mov esi, eax
add esp, 8
test esi, esi
je 0x405662
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.004787d0
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 0x405615
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 0x4055f0
mov esi, dword [ebp - 0x154]
mov edx, dword [ebp - 0x188]
mov ecx, dword [esi + 0x418]
jmp 0x40561b
mov esi, dword [ebp - 0x154]
cmp dword [esi + 0x1a8], 0
mov eax, ecx
je 0x405636
test dword [esi + 0x1b0], 0x4000
jne 0x405636
xor esi, esi
jmp 0x40563d
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 [0x4b60b4]
call dword [sym.imp.MMFS2.dll_Ordinal_1105]
jmp 0x405668
mov esi, dword [ebp - 0x154]
push dword [esi + 0x41c]
call fcn.0047aacf
add esp, 4
mov dword [esi + 0x41c], 0
push dword [esi + 0x420]
call fcn.0047aacf
add esp, 4
mov dword [esi + 0x420], 0
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x4056ab
push eax
call fcn.0047aacf
add esp, 4
test edi, edi
jne 0x4056fa
mov ecx, dword [0x4b60e4]
test ecx, ecx
je 0x4056d7
mov eax, dword [ecx + 0x1d0]
mov dword [0x4b60c4], eax
mov eax, dword [ecx + 0x1d4]
mov dword [0x4b60bc], eax
mov eax, dword [ebp - 0x1ac]
jmp 0x40572e
mov eax, dword [ebp - 0x1ac]
mov dword [0x4b60c4], 0
mov dword [0x4b60bc], 0
jmp 0x40572e
mov edi, 0x14
jmp 0x4056fc
jle 0x405716
test byte [0x4b625e], 1
je 0x405716
push ecx
mov ecx, dword [0x4b60c0]
mov edx, edi
call fcn.00447ad0
add esp, 4
mov ecx, dword [ebp - 0x154]
call fcn.00405870
mov ecx, dword [ebp - 0x1c0]
call fcn.00402c20
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.00476fd3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004773dd
nop dword [eax]
jecxz 0x40578d
inc eax
add byte [ebx + 0x3a], ch
inc eax
add byte [edi], ch
inc eax
inc eax
add byte [ebp - 0x4affbfc0], bh
inc edx
inc eax
add byte [ebx + ecx*2 + 0x486f0040], dl
inc eax
add byte [ebx + 0x15004048], cl
dec ebx
inc eax
add byte [ecx], bl
cmp eax, dword [eax]
or byte [0x3d890040], bh
inc eax
add byte [esi + edi + 0x40], dl
add byte [esi - 0x36ffbfc2], ah
inc edx
inc eax
add cl, ah
cmp eax, 0x48e90040
inc eax
add byte [edi + 0x40], ah
inc eax
add cl, al
cmp al, byte [eax]
xchg esi, eax
cmp al, byte [eax]
loopne 0x4057e8
inc eax
add byte [ebx], bl
inc ecx
inc eax
add byte [eax + 0x44], cl
inc eax
add byte [edx - 0x2bffbfc0], dl
cmp byte [eax], al
cmp ecx, dword [ebx + 0x40]
add byte [edx], al
cmp dword [eax], eax
sbb dword [ebp + 0x40], eax
add byte [ebp + 69], ch
inc eax
add byte [0x36004046], dl
inc edi
inc eax
add byte [ebx + 0x47], dl
inc eax
add byte [eax + ecx*2], ah
inc eax
add cl, bl
inc edi
inc eax
add byte [0x6004045], al
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
add eax, dword [eax + 0x23080706]
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