Function at 0x10086b99
Capabilities:
Allocate or change rwx memory
Connect socket
Encode data using xor
Execute shellcode via indirect call
Initialize winsock library
Link many functions at runtime
Log keystrokes via application hook
Resolve dns
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017efc9
mov eax, dword fs:[0]
push eax
sub esp, 0x5e4
mov eax, dword [0x101ac06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
cmp byte [0x1032dc62], 0
jne 0x1008694a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x3c]
push eax
push 0x40
push 0xd21fff
push 0x401000
mov byte [0x1032dc62], 1
call edi
test eax, eax
je 0x1008694a
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.._Settings.ini
push 1
push str.WideScreen
push str.Interface
call esi
push str.._Settings.ini
push 1
push str.WideScreenScale
push str.Interface
mov dword [0x10327c40], eax
call esi
lea ecx, [ebp - 0x5d0]
mov dword [0x10327c3c], eax
call fcn.10007a60
push ecx
push 0x10324854
push str..DataKGDataLocalServerGame.info
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x1008692c
push 0
push 0x20
push 3
push 0
push 1
push connect
push str..DataKGDataLocalServerGame.info
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008692c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x903d8
je 0x10086966
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push str.Error
push str.ServerGame.info_no_funciona_o_es_invalida_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x10355adc
call fcn.1000ba50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4653
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x903d8
push 0x10259534
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10086925
xor ecx, ecx
nop word [eax + eax]
mov eax, ecx
shr eax, 8
xor al, 0x95
add al, byte [ecx + 0x10259534]
xor al, cl
xor al, 0xda
mov byte [ecx + 0x10259534], al
inc ecx
cmp ecx, 0x903d8
jb 0x10086990
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebx
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
push 0x10324858
push str..DataKGDataLocalEffectGame.info
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10086a12
push 0
push 0x20
push 3
push 0
push 1
push connect
push str..DataKGDataLocalEffectGame.info
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10086a12
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3af48
je 0x10086a23
push esi
call ebx
push 0x10
push str.Error
push str.EffectGame.info_no_funciona_o_es_invalida_
jmp 0x10086938
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x3af48
push 0x102e990c
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10086a0f
xor ecx, ecx
mov eax, ecx
shr eax, 8
xor al, 0x6e
add al, byte [ecx + 0x102e990c]
xor al, cl
xor al, 0xe6
mov byte [ecx + 0x102e990c], al
inc ecx
cmp ecx, 0x3af48
jb 0x10086a47
push esi
call ebx
call fcn.100bab30
cmp dword [0x1025996c], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x10086ace
push 0x1000bd10
push 0x57d278
push 0xe9
call fcn.100cf570
push 0x1000bd40
push 0x74cd50
push 0xe9
call fcn.100cf570
push 0x1000bd70
push 0x771328
push 0xe9
call fcn.100cf570
add esp, 0x24
push 0
push 0
push 0
push 0x100867e0
push 0
push 0
call esi
cmp dword [0x10259704], 1
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x10086b30
push str.Main.exe
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10086aff
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
jmp 0x10086b30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10086b30
push dword [ebp - 0x1c]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
push 0x10
push str.Error
push str.You_already_have_a_main_open__you_cant_open_any_more.
push 0
call ebx
mov ecx, 0x10355adc
call fcn.1000ba50
call fcn.1002fea0
push 0xe9
mov edx, 0x100ce6d0
mov ecx, 0x5509ce
call fcn.100ced10
push 0xe9
mov edx, 0x100cebb0
mov ecx, 0x551573
call fcn.100ced10
push 0xa0
push 0xe61144
call fcn.1009c810
push 0xeb
push 0x4d1e69
call fcn.1009c810
push 0xe9
push 0x4d228d
call fcn.1009c810
push 0x8b
push 0x4d228e
call fcn.1009c810
push 0
push 0x4d228f
call fcn.1009c810
push 0
push 0x4d2290
call fcn.1009c810
push 0
push 0x4d2291
call fcn.1009c810
add esp, 0x40
push 0xeb
push 0x4d559c
call fcn.1009c810
push 0xeb
push 0x633f7a
call fcn.1009c810
push 0xeb
push 0x634403
call fcn.1009c810
push 0xeb
push 0x63e6c4
call fcn.1009c810
push 0xeb
push 0x4d2246
call fcn.1009c810
push 0xeb
push 0x501163
call fcn.1009c810
push 0
push 0x40af0a
call fcn.1009c810
push 0x50
push 0x40b4bc
call fcn.1009c810
add esp, 0x40
push 0x50
push 0x40b4c5
call fcn.1009c810
push 0x18
push 0x40b4cf
call fcn.1009c810
push 0
push 0x40af0a
call fcn.1009c810
push 0xeb
push 0x40afd5
call fcn.1009c810
push 0x70
push 0x777fd6
call fcn.1009c810
push 0x17
push 0x777fd7
call fcn.1009c810
push 0x3c
push 0x4ebec7
call fcn.1009c810
push 0x3c
push 0x5c4004
call fcn.1009c810
add esp, 0x40
push 0x3c
push 0x7e40bb
call fcn.1009c810
push 0x3c
push 0x81b546
call fcn.1009c810
push 0x3c
push 0x81b58d
call fcn.1009c810
push 0x3c
push 0x86e284
call fcn.1009c810
push 0x3c
push 0x86e44c
call fcn.1009c810
push 0x3c
push 0x86e573
call fcn.1009c810
push 0x3c
push 0x86f8fc
call fcn.1009c810
push 0xb7
push 0x7da373
call fcn.1009c810
add esp, 0x40
push 0xb7
push 0x7e1c44
call fcn.1009c810
push 0xeb
push 0x52100d
call fcn.1009c810
push 0
push 0x9543c4
call fcn.1009c810
push 0x4d1dc2
push 0x4d1cf0
push 0xe9
call fcn.100cf570
push 0x1b
mov edx, 0x90
mov ecx, 0xd20170
call fcn.100cf630
cmp dword [0x102597b0], 0
mov ecx, 0xeb
mov eax, 0x75
cmove eax, ecx
movzx eax, al
push eax
push 0x64cbd1
call fcn.1009c810
movzx eax, byte [0x102597b4]
push eax
push 0x64cbd0
call fcn.1009c810
movzx eax, byte [0x102597b4]
push eax
push 0x95ceef
call fcn.1009c810
movzx eax, byte [0x102597b4]
add esp, 0x40
push eax
push 0x95cf14
call fcn.1009c810
mov al, byte [0x10259598]
inc al
movzx eax, al
push eax
push 0xe61f68
call fcn.1009c810
mov al, byte [0x1025959a]
add al, 2
movzx eax, al
push eax
push 0xe61f69
call fcn.1009c810
mov al, byte [0x1025959b]
add al, 3
movzx eax, al
push eax
push 0xe61f6a
call fcn.1009c810
mov al, byte [0x1025959d]
add al, 4
movzx eax, al
push eax
push 0xe61f6b
call fcn.1009c810
mov al, byte [0x1025959e]
add al, 5
movzx eax, al
push eax
push 0xe61f6c
call fcn.1009c810
mov dx, word [0x10259596]
add esp, 0x30
mov ecx, 0xe609e4
call fcn.100cf430
cmp dword [0x102597ac], 0x3c
jb 0x10086e5a
mov dword [0x10355d34], 0
mov dword [0x10355d38], 0
mov byte [0x10355d30], 1
call fcn.1001c570
cmp dword [0x102597ac], 0x3c
jae 0x10086e87
mov edx, 0x1032dc5c
mov ecx, 0x4d9d3b
call fcn.100cf480
mov edx, 0x1032dc5c
mov ecx, 0x4dac60
call fcn.100cf480
mov edx, 0xa
mov ecx, 0x7b55338
call fcn.100cf480
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4d597b
call edi
lea eax, [ebp - 0x14]
mov dword [0x4d597b], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4d597b
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4da289
call edi
lea eax, [ebp - 0x14]
mov dword [0x4da289], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4da289
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4da297
call edi
lea eax, [ebp - 0x14]
mov dword [0x4da297], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4da297
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4da3a2
call edi
lea eax, [ebp - 0x14]
mov dword [0x4da3a2], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4da3a2
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4da3ce
call edi
lea eax, [ebp - 0x14]
mov dword [0x4da3ce], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4da3ce
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4da3d9
call edi
lea eax, [ebp - 0x14]
mov dword [0x4da3d9], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x4da3d9
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x63d326
call edi
lea eax, [ebp - 0x14]
mov dword [0x63d326], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x63d326
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x642112
call edi
lea eax, [ebp - 0x14]
mov dword [0x642112], 0x1032dc58
push eax
push dword [ebp - 0x14]
push 4
push 0x642112
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4d0e09
call edi
lea eax, [ebp - 0x14]
mov dword [0x4d0e09], 0x102595b1
push eax
push dword [ebp - 0x14]
push 4
push 0x4d0e09
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4d9f55
call edi
lea eax, [ebp - 0x14]
mov dword [0x4d9f55], 0x102595d1
push eax
push dword [ebp - 0x14]
push 4
push 0x4d9f55
call edi
push 0
push 0x5c914e
call fcn.1009c810
push 0x14
mov edx, 0x90
mov ecx, 0x63e908
call fcn.100cf630
push 0x20
push 0x10259575
push 0xe611b2
call fcn.100cf5d0
push 0x11
push 0x102595a0
push 0xe61f70
call fcn.100cf5d0
push fcn.100c6fe0
push 0x65fd79
push 0xff
call fcn.100cf570
push 0x100761b0
push 0x4da280
push 0xe9
call fcn.100cf570
add esp, 0x3c
cmp dword [0x102597ac], 0x3c
jae 0x1008709b
push 0x100761e0
jmp 0x100870a0
push 0x100763c0
push 0x4da3a1
push 0xe9
call fcn.100cf570
add esp, 0xc
mov edx, 0xc
mov ecx, 0x4d9d39
call fcn.100cf690
mov edx, 7
mov ecx, 0x4d9d45
call fcn.100cf690
mov edx, 0xf
mov ecx, 0x4d9efc
call fcn.100cf690
cmp dword [0x102597ac], 0x3c
jae 0x100870f7
mov edx, 8
mov ecx, 0x4dac5c
call fcn.100cf690
mov edx, 5
mov ecx, 0x5451f7
call fcn.100cf690
mov edx, 8
mov ecx, 0x545230
call fcn.100cf690
mov edx, 8
mov ecx, 0x5a52e9
call fcn.100cf690
push 0x10331f70
mov edx, 0x6a
call fcn.100cf730
push 0x10331e80
mov edx, 0x6b
call fcn.100cf730
push 0x10332060
mov edx, 0x6c
call fcn.100cf730
add esp, 0xc
call fcn.1002a080
push 0x10033650
push 0x597691
push 0xe9
call fcn.100cf570
add esp, 0xc
cmp dword [0x102599b0], 1
jne 0x10087199
cmp byte [0x105b013e], 0
jne 0x10087199
push 0x10033660
push 0x4d5ec3
push 0xe8
call fcn.100cf570
add esp, 0xc
cmp byte [0x105b013e], 1
jne 0x100871b9
push 0x10033830
push 0x4d5ec3
push 0xe8
call fcn.100cf570
add esp, 0xc
push dword [0x101ae238]
call fcn.100969f0
push str.DataKGDataLuaConfigsNameColor.lua
mov ecx, 0x101ae234
call fcn.100b7410
push 0x100334c0
push 0x598ca7
push 0xe8
call fcn.100cf570
push 0x100334c0
push 0x77f8c2
push 0xe8
call fcn.100cf570
push 0x100334f0
push 0x57f920
push 0xe9
call fcn.100cf570
add esp, 0x24
call fcn.10048cf0
cmp dword [0x10259998], 1
jne 0x100873b6
mov eax, 1
mov dword [0x10366ad8], 0
mov word [0x10366a0c], ax
lea eax, [ebp - 0x1d0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1008727f
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x101ae494], eax
cmp eax, 0xffffffff
je 0x1008727f
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [0x101ae498], eax
test eax, eax
je 0x1008727f
mov dword [0x101b24a4], 0x1003fa00
jmp 0x10087296
push 1
push str.connection
push str.init_failed
push 0
call ebx
mov byte [0x10366a0e], 0
cmp dword [0x101ae494], 0xffffffff
movzx eax, word [0x10259596]
je 0x1008739f
mov ecx, 2
push eax
mov word [ebp - 0x30], cx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10259575
mov word [ebp - 0x2e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x100872f6
push 0x10259575
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100872f6
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.10142530
add esp, 0xc
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x101ae494]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1008731a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10087395
push 0x23
push dword [0x101ae498]
push dword [0x101ae494]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10087395
push 0x2000
push 0
push 0x101ae49c
call fcn.10143030
push 0x2000
push 0
push 0x101b04a0
mov dword [0x101b049c], 0
call fcn.10143030
add esp, 0x18
mov dword [0x101b24a0], 0
push 0
push 0
push 0x101ae490
push 0x1003f790
push 0
push 0
call esi
mov dword [0x101b24c4], eax
mov byte [0x101b24c8], 1
mov byte [0x10366a0e], 1
jmp 0x100873b6
mov ecx, 0x101ae490
call fcn.1003f5e0
push 1
push str.connection
push str.Connect_failed__CheckIP_ConnectServer__
push 0
call ebx
mov byte [0x10366a0e], 0
push 0x100765b0
push 0x5b96e8
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x59b566
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5a0208
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5ab91c
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b087a
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b13e4
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x1000bb30
push 0x5b69e3
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b6eb4
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b7026
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b7268
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b72d0
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x5b739d
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x1000bb30
push 0x5b7634
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x95f68a
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x95f8b7
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x95fa96
push 0xe8
call fcn.100cf570
push 0x1000bb30
push 0x96012e
push 0xe8
call fcn.100cf570
add esp, 0x3c
push 0
push 0
push 0x10355adc
push 0x1000b8d0
push 0
push 0
call esi
mov dword [0x10355b10], eax
call fcn.10066f10
call fcn.10065f40
push 0
push ecx
push str.DataEnc1.dat
call fcn.100a5dd0
push 1
push ecx
push str.DataDec2.dat
call fcn.100a5dd0
push 2
push 0x1019bafc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1000bb90
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
push dword [0x102109ac]
lea ecx, [ebp - 0x5f0]
call fcn.1007f8a0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100af150
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x5d8]
cmp edx, 0x10
jb 0x100875d9
mov ecx, dword [ebp - 0x5ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100875cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089155
push edx
push ecx
call fcn.100f4664
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5d8], 0xf
mov byte [ebp - 0x5ec], 0
cmp edx, 0x10
jb 0x1008762f
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10087625
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008915a
push edx
push ecx
call fcn.100f4664
add esp, 8
push str.Data__KGData__Lua__Configs__Font.lua
mov ecx, 0x102109a8
call fcn.100b7410
push 0x100b7cb0
push 0x7729b3
push 0xe8
call fcn.100cf570
push 0x100b7c80
push 0x772960
push 0xe8
call fcn.100cf570
add esp, 0x18
call fcn.100b5c40
cmp dword [0x10259a88], 0x191
jl 0x100876ee
push 0x100aef60
push 0x810711
push 0xe9
call fcn.100cf570
push 0x100aefa0
push 0x810790
push 0xe9
call fcn.100cf570
add esp, 0x18
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x811020
call edi
mov eax, 0x811020
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x811020
call edi
push 0x100aefe0
push 0x811020
push 0xe9
call fcn.100cf570
add esp, 0xc
call fcn.100b5450
push 2
push 0x1019bafc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1000bb90
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
push eax
push dword [0x1020ea10]
lea ecx, [ebp - 0x5f0]
call fcn.1007f8a0
push 0x100b5ac0
push str.SetItemFloor
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10099260
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5d8]
cmp edx, 0x10
jb 0x10087783
mov ecx, dword [ebp - 0x5ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10087779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008915f
push edx
push ecx
call fcn.100f4664
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5d8], 0xf
mov byte [ebp - 0x5ec], 0
cmp edx, 0x10
jb 0x100877d9
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100877cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089164
push edx
push ecx
call fcn.100f4664
add esp, 8
push str.Data__KGData__Lua__Configs__CustomItemFloor.lua
mov ecx, 0x1020ea0c
call fcn.100b7410
push 0x1019a760
push str.StartLoadItemFloor
push 0x1020ea0c
call fcn.100b75c0
push 0x100b5b50
push 0x5f820c
push 0xe8
call fcn.100cf570
push 0x100b5b50
push 0x5f847d
push 0xe8
call fcn.100cf570
add esp, 0x24
mov ecx, 0x10214cd4
push str.Data__KGData__Lua__EffectSystem__CharacterEffectItens.lua
call fcn.100b7410
push dword [0x10214cd8]
call fcn.10091120
push 0x100b0c40
push 0x5711ab
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x57126f
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x5713d6
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x576ddb
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x588357
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x5883f4
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x100b0c40
push 0x588505
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x588617
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x588661
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x58876e
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x5887ad
push 0xe8
call fcn.100cf570
push 0x100b0c40
push 0x609d1e
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x100b0c40
push 0x610691
push 0xe8
call fcn.100cf570
add esp, 0xc
call fcn.100bb980
mov ecx, dword [0xe61e58]
mov eax, dword [0xe61e5c]
cmp ecx, 0x320
jne 0x1008796f
test eax, eax
jne 0x1008796f
lea esi, [eax + 0xb]
jmp 0x10087985
cmp ecx, 0x400
jne 0x10087980
mov esi, 0xc
test eax, eax
je 0x10087985
mov esi, 0xd
push str.Tahoma
push 0
push 3
push 0
push 7
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
push str.Tahoma
push 0
push 3
push 0
push 7
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push esi
mov dword [0x101ae21c], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push str.Tahoma
push 0
push 3
push 0
push 7
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [0x101ae220], eax
call esi
mov ecx, 0x102596c3
mov dword [0x101ae218], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10087a13
sub ecx, edx
je 0x10087a81
push ecx
push 0x102596c3
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
call fcn.1000bb90
mov dword [ebp - 0x20], 1
lea edx, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae edx, ecx
test eax, eax
je 0x10087a84
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, edx
cmp edx, dword [ebp - 0x14]
jae 0x10087a84
cmp byte [eax], 0x20
jne 0x10087a71
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x10087a64
jmp 0x10087a84
sub eax, edx
cmp eax, 0xffffffff
je 0x10087a84
mov byte [ebp - 0x5d1], 0
jmp 0x10087a8b
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x5d1], 1
test byte [ebp - 0x20], 1
je 0x10087ac4
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10087ac4
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10087aba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089169
push edx
push ecx
call fcn.100f4664
add esp, 8
cmp byte [ebp - 0x5d1], 0
je 0x10087b27
push 0xe8
mov edx, 0x10037e50
mov ecx, 0x78b0bc
call fcn.100ced10
push 0xe9
mov edx, 0x10037df0
mov ecx, 0x789767
call fcn.100ced10
push 0xe9
mov edx, 0x10037e10
mov ecx, 0x789a63
call fcn.100ced10
push 0xe9
mov edx, 0x10037e30
mov ecx, 0x789dac
call fcn.100ced10
add esp, 0x10
mov byte [0x101ae424], 1
call fcn.1005bdb0
push str.Tahoma
push 0
push 3
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xd
call esi
push str.Tahoma
push 0
push 3
push 0
push 0
push 1
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xd
mov dword [0x103695e8], eax
call esi
push str.Tahoma
push 0
push 3
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xf
mov dword [0x103695ec], eax
call esi
push str.Tahoma
push 0
push 3
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x12
mov dword [0x103695f0], eax
call esi
mov dword [0x103695f4], eax
call fcn.10062d60
push 2
push 0x1019bafc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.1000bb90
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 4
push eax
push dword [0x1020e8cc]
lea ecx, [ebp - 0x5f0]
call fcn.1007f8a0
sub esp, 8
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.10084fc0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x5d8]
cmp edx, 0x10
jb 0x10087c5e
mov ecx, dword [ebp - 0x5ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10087c54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008916e
push edx
push ecx
call fcn.100f4664
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x5dc], 0
mov dword [ebp - 0x5d8], 0xf
mov byte [ebp - 0x5ec], 0
cmp edx, 0x10
jb 0x10087cb4
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10087caa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089173
push edx
push ecx
call fcn.100f4664
add esp, 8
push str.Data__KGData__Lua__Configs__CustomItemPosition.lua
mov ecx, 0x1020e8c8
call fcn.100b7410
push 0x10197d57
push str.StartLoadItemPosition
push 0x1020e8c8
call fcn.100b75c0
push 0x1007fe00
push 0x5d0b94
push 0xe8
call fcn.100cf570
add esp, 0x18
mov dword [0x101f6de4], 1
cmp dword [0x10259944], 2
jne 0x10087d06
call fcn.1005a080
cmp dword [0x10327c40], 0
je 0x10087d1b
call fcn.10037d70
mov ecx, eax
call fcn.100c53e0
push 0x100376b0
push 0x7d2b3d
push 0xe8
call fcn.100cf570
push 0x10037550
push 0x841e49
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x102599b0], 1
jne 0x10087d7c
push 0x10037de0
push 0x78b0f0
push 0xe9
call fcn.100cf570
push 0x10037dd0
push 0x787ba0
push 0xe9
call fcn.100cf570
add esp, 0x18
jmp 0x10087d93
push 0x10037680
push 0x78b0f0
push 0xe9
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259944], 1
jne 0x10087df0
mov eax, dword [0x102599f4]
dec eax
cmp eax, 1
ja 0x10087df0
push 0x10035f70
push 0x84bc0f
push 0xe8
mov dword [0x10327aa4], 0
call fcn.100cf570
push 0x10035f90
push 0x84bd1d
push 0xe8
call fcn.100cf570
push 0x10034f40
push 0x84bdb0
push 0xe9
call fcn.100cf570
add esp, 0x24
push 0x10036cf0
push 0x5bb0b0
push 0xe9
call fcn.100cf570
add esp, 0xc
mov dword [0x101f6ddc], 0
cmp dword [0x1025994c], 1
jne 0x10087e31
push method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_12
push 0x82b772
push 0xe8
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259948], 0
je 0x10087e51
push 0x100a3b50
push 0x62f870
push 0xe9
call fcn.100cf570
add esp, 0xc
push 0x100a1ad0
push 0x82aba0
push 0xe9
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259960], 1
jne 0x10087eb6
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x7f6834
call edi
mov eax, 0x7f6834
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push 0x7f6834
call edi
push 0x10055a70
push 0x7f67b7
push 0xe8
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259994], 0
jne 0x10087f48
mov byte [0x1032db58], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10054910
sub eax, 0x1388
mov byte [0x1032db60], 0
push 0x7d2bc0
push 0xe9
mov dword [0x1032db5c], eax
call fcn.100cf570
push 0x10055c60
push 0x7d26b5
push 0xe9
call fcn.100cf570
push 0x10055cb0
push 0x7d2751
push 0xe9
call fcn.100cf570
push 0x10055d00
push 0x7d27fc
push 0xe9
call fcn.100cf570
push 0x10055d50
push 0x80b8e0
push 0xe9
call fcn.100cf570
add esp, 0x3c
cmp dword [0x10259884], 1
jne 0x10088076
push 0x10051750
push 0x5012d0
push 0xe9
call fcn.100cf570
push 0x100517e0
push 0x80f250
push 0xe8
call fcn.100cf570
push 0x10051930
push 0x7df740
push 0xe9
call fcn.100cf570
push 0x10053280
push 0x7df34c
push 0xe8
call fcn.100cf570
push 0x100532b0
push 0x66424b
push 0xe8
call fcn.100cf570
push 0x10051860
push 0x833731
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x10051990
push 0x7df846
push 0xe8
call fcn.100cf570
push 0x100536f0
push 0x7df83e
push 0xe8
call fcn.100cf570
push 0x100533c0
push 0x83469c
push 0xe8
call fcn.100cf570
push 0x100756f0
push 0x420814
push 0xe8
call fcn.100cf570
push 0x10050780
push 0x924c8b
push 0xe8
call fcn.100cf570
push 0x1004fe90
push 0x7e5cb6
push 0xe8
call fcn.100cf570
add esp, 0x48
push 0x10050cd0
push 0x7e5b70
push 0xe8
call fcn.100cf570
push 0x10050a60
push 0x7e348f
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x102599e8], 1
jne 0x100880d8
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x401f56
call edi
mov eax, 0x401f56
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push 0x401f56
call edi
push 0x1000c310
push 0x401ef1
push 0xe8
call fcn.100cf570
push 0x1000c2b0
push 0x401fc4
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x1025992c], 1
jne 0x1008818d
push 7
call fcn.100f4ca4
mov ecx, 0x90909090
mov edx, eax
push 7
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
mov ecx, 0x608cac
call fcn.100cebf0
push 0xe9
mov edx, 0x10054110
mov ecx, 0x608cac
call fcn.100ced10
push 7
call fcn.100f4ca4
mov ecx, 0x90909090
mov edx, eax
push 7
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
mov ecx, 0x60954d
call fcn.100cebf0
push 0xe9
mov edx, 0x100541a0
mov ecx, 0x60954d
call fcn.100ced10
push 7
call fcn.100f4ca4
mov ecx, 0x90909090
mov edx, eax
push 7
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
mov ecx, 0x60f04c
call fcn.100cebf0
push 0xe9
mov edx, 0x10054230
mov ecx, 0x60f04c
call fcn.100ced10
add esp, 0x24
cmp dword [0x10259930], 1
jne 0x100881c1
push 0x1002ba50
push 0x61041c
push 0xe8
call fcn.100cf570
push 0x1002ba50
push 0x5666c1
push 0xe8
call fcn.100cf570
add esp, 0x18
cmp dword [0x10259928], 1
jne 0x1008820f
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x502a95
call edi
mov eax, 0x502a95
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push 0x502a95
call edi
push 0x10008ce0
push 0x502a95
push 0xe8
call fcn.100cf570
add esp, 0xc
cmp dword [0x10259918], 1
jne 0x1008821d
call fcn.1007f170
cmp dword [0x10259920], 1
jne 0x1008822b
call fcn.10032bb0
cmp dword [0x10259900], 1
jne 0x10088239
call fcn.100a4750
cmp dword [0x10259904], 1
jne 0x100882df
push 0x10009ec0
push 0x900de9
push 0xe8
call fcn.100cf570
push 0x100091a0
push 0x8c5bb5
push 0xe8
call fcn.100cf570
push 0xa
call fcn.100f4ca4
mov ecx, 0x90909090
mov edx, eax
push 0xa
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov ecx, 0x56fc5e
call fcn.100cebf0
push 0xe9
mov edx, 0x10009da0
mov ecx, 0x56fc5e
call fcn.100ced10
push 0xa
call fcn.100f4ca4
mov ecx, 0x90909090
mov edx, eax
push 0xa
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
mov ecx, 0x56fd1a
call fcn.100cebf0
push 0xe9
mov edx, 0x10009e40
mov ecx, 0x56fd1a
call fcn.100ced10
add esp, 0x30
cmp dword [0x1025990c], 1
jne 0x1008830c
push 0
call fcn.10154a84
push eax
call fcn.1014b7eb
push 0x100cbc80
push 0x4d70d4
push 0xe8
call fcn.100cf570
add esp, 0x14
call fcn.1003ef40
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x14], 1
mov edi, 2
lea ecx, [edi + 1]
mov eax, 0xf0f0f0f1
mul ecx
mov eax, 0x102595a3
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + ebx]
xor al, byte [edi + 0x10259556]
movzx esi, al
mov eax, 0xf0f0f0f1
mul edi
mov eax, 0x102595a2
add edi, 4
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x14], 4
mov al, byte [eax + ebx]
xor al, byte [ecx + 0x10259556]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul ecx
mov eax, 0x102595a1
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + ebx]
xor al, byte [ebx + 0x10259556]
movzx eax, al
add si, ax
mov eax, 0xf0f0f0f1
mul ebx
mov eax, ebx
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
mov al, byte [eax + 0x102595a0]
xor al, byte [ebx + 0x10259555]
add ebx, 4
movzx eax, al
add si, ax
add word [ebp - 0x20], si
cmp edi, 0x22
jb 0x10088326
mov al, byte [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub al, 0x1e
mov byte [0x1032dc60], al
mov eax, dword [ebp - 0x20]
shr eax, 8
sub al, 0x31
mov byte [0x1032db57], al
mov eax, dword [0xd227b0]
mov dword [0x1032dc68], eax
mov eax, dword [0xd227f8]
mov dword [0x1032dc64], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0xd227b0
call edi
lea eax, [ebp - 0x14]
mov dword [0xd227b0], 0x10075f80
push eax
push dword [ebp - 0x14]
push 4
push 0xd227b0
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0xd227f8
call edi
lea eax, [ebp - 0x14]
mov dword [0xd227f8], 0x100760a0
push eax
push dword [ebp - 0x14]
push 4
push 0xd227f8
call edi
push 0x1007d090
push 0x633fcb
push 0xff
call fcn.100cf570
push 0x1007d550
push 0x633fe3
push 0xff
call fcn.100cf570
push 0x1007d930
push 0x57ac07
push 0xff
call fcn.100cf570
push 0x1007d930
push 0x6083b9
push 0xff
call fcn.100cf570
push 0x1007da00
push 0x777ff2
push 0xff
call fcn.100cf570
push 0x1007da00
push 0x778003
push 0xff
call fcn.100cf570
add esp, 0x48
push 0x1007da10
push 0x5f7c2f
push 0xe9
call fcn.100cf570
push 0x1007da40
push 0x968137
push 0xe9
call fcn.100cf570
push 0x1007da60
push 0x968157
push 0xe9
call fcn.100cf570
push 0x1007cf40
push 0x57ad82
push 0xe9
call fcn.100cf570
push 0x1007cf90
push 0x57adc8
push 0xe9
call fcn.100cf570
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
add esp, 0x3c
cmp byte [0x10259a9d], 1
jne 0x100885d9
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x54c2d5
call edi
mov eax, 0x54c2d5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x54c2d5
call edi
push 0x1007cc60
push 0x54c2d5
push 0xe9
call fcn.100cf570
push 0x1007cac0
push 0x4fc6c7
push 0xe8
call fcn.100cf570
push 0x1007cac0
push 0x4fcc3e
push 0xe8
call fcn.100cf570
push 0x1007cac0
push 0x54c21d
push 0xe8
call fcn.100cf570
add esp, 0x30
push 0x1007da80
push 0x58e650
push 0xe9
call fcn.100cf570
push 0x1007dad0
push 0x8386b5
push 0xe9
call fcn.100cf570
push 0x1007db50
push 0x5c4025
push 0xe9
call fcn.100cf570
push 0x1007db80
push 0x5f7c3b
push 0xe9
call fcn.100cf570
push 0x1007dbb0
push 0x64b701
push 0xe9
call fcn.100cf570
push 0x1007dbe0
push 0x8383a0
push 0xe9
call fcn.100cf570
add esp, 0x48
push 0x1007dc10
push 0x5f3f7e
push 0xe9
call fcn.100cf570
push 0x1007dc50
push 0x5f4a60
push 0xe9
call fcn.100cf570
add esp, 0x18
call fcn.100ab960
cmp dword [0x102597d4], 0
je 0x1008874b
push 0x100cb1a0
push 0x40b903
push 0xe9
call fcn.100cf570
push 0x100cb1e0
push 0x4da416
push 0xe9
call fcn.100cf570
push 0x100cb200
push 0x63a192
push 0xe9
call fcn.100cf570
push 0x100cb240
push 0x7a89eb
push 0xe9
call fcn.100cf570
push fcn.100cb100
push 0x40bc24
push 0xe8
call fcn.100cf570
push fcn.100cb100
push 0x4d762c
push 0xe8
call fcn.100cf570
add esp, 0x48
push fcn.100cb100
push 0x4ef622
push 0xe8
call fcn.100cf570
push fcn.100cb100
push 0x63cd3a
push 0xe8
call fcn.100cf570
push fcn.100caa30
push 0x80f7fe
push 0xe8
call fcn.100cf570
add esp, 0x24
call fcn.100cd390
cmp dword [0x1025991c], 1
jne 0x10088798
push 0x100466a0
push 0x50d905
push 0xe8
call fcn.100cf570
push 0x10046810
push 0x5cd10f
push 0xe9
call fcn.100cf570
push 0x10046870
push 0x5cefe7
push 0xe9
call fcn.100cf570
add esp, 0x24
push 0x100cb390
push 0x4d13c2
push 0xe9
call fcn.100cf570
push 0x100cb540
push 0x4d2782
push 0xe9
call fcn.100cf570
push 0x100cb610
push 0x830c3a
push 0xe9
call fcn.100cf570
push 0x100cb270
push 0x4da2f9
push 0xe8
call fcn.100cf570
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
add esp, 0x30
cmp dword [0x10327c54], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
jne 0x1008881b
call eax
push eax
push dword [0x10327c44]
push 0x1003fbb0
push 7
call esi
mov dword [0x10327c54], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10327c58], 0
jne 0x1008883b
call eax
push eax
push dword [0x10327c44]
push 0x10040fe0
push 2
call esi
mov dword [0x10327c58], eax
cmp byte [0x10259a9e], 1
jne 0x1008886d
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push 0x4d0e17
call edi
lea eax, [ebp - 0x14]
mov dword [0x4d0e17], 0x1003fb20
push eax
push dword [ebp - 0x14]
push 4
push 0x4d0e17
call edi
push 0x1003fac0
push 0x4d0e2f
push 0xe9
call fcn.100cf570
add esp, 0xc
call fcn.1007cc90
cmp dword [0x10259a98], 1
mov dword [0x10330b8c], 0
mov byte [0x10330b78], 0
mov dword [0x10330b80], 0xffffffff
mov dword [0x10330b88], 0xffffffff
mov dword [0x10330b7c], 0xffffffff
jne 0x100888d8
push 0xe8
mov edx, 0x100cf320
mov ecx, 0x588511
call fcn.100ced10
add esp, 4
mov ecx, 0x101f6dd8
call fcn.100773d0
cmp dword [0x102599a8], 2
setne byte [0x1058c540]
call fcn.10064570
call fcn.100a5020
call fcn.10001400
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100018e0
call fcn.10001470
mov al, byte [0x10259534]
test al, 1
je 0x10088945
push 0x10259535
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x10088940
push eax
push str.Start_Error
push str.Please_start_game_from_Launcher
push eax
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, byte [0x10259534]
test al, 2
je 0x1008898c
push 0x10259575
lea eax, [ebp - 0x140]
push str.XTEAM_MAIN_10405__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10088938
lea eax, [ebp - 0x140]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [0x1025978c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
je 0x10088a80
push 0x104
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.10143030
add esp, 0xc
lea eax, [ebp - 0x148]
push 0x104
push eax
push 0
call esi
test eax, eax
jne 0x100889d0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x148]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100889e0
sub ecx, edx
test ecx, ecx
jle 0x10088a1c
nop dword [eax]
cmp byte [ebp + ecx - 0x148], 0x5c
je 0x10088a01
dec ecx
test ecx, ecx
jg 0x100889f0
jmp 0x10088a1c
lea eax, [ebp - 0x147]
add eax, ecx
push eax
push 0x104
push 0x105b1dd0
call fcn.10153cf5
add esp, 0xc
push 0x10259603
push 0x105b1dd0
call fcn.1015491c
add esp, 8
test eax, eax
je 0x10088a3a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x1c]
push eax
push 0x10259603
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088a76
push 0x10
push str.Error
push str.Main.exe_CRC_error_
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x1025978c]
cmp eax, dword [ebp - 0x1c]
jne 0x10088a5e
cmp dword [0x10259790], 0
je 0x10088b2b
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x10259623
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088abf
push 0x10
push str.Error
push str.Plugin_1_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x10259790]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x10259623
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x10259790]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088b2b
call eax
cmp dword [0x10259794], 0
je 0x10088be1
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x10259643
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088b6d
push 0x10
push str.Error
push str.Plugin_2_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x10259794]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x10259643
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x10259794]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088be1
call eax
cmp dword [0x10259798], 0
je 0x10088c97
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x10259663
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088c23
push 0x10
push str.Error
push str.Plugin_3_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x10259798]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x10259663
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x10259798]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088c97
call eax
cmp dword [0x1025979c], 0
je 0x10088d4d
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x10259683
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088cd9
push 0x10
push str.Error
push str.Plugin_4_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x1025979c]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x10259683
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x1025979c]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088d4d
call eax
cmp dword [0x102597a0], 0
je 0x10088e03
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x102596a3
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088d8f
push 0x10
push str.Error
push str.Plugin_5_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x102597a0]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x102596a3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x102597a0]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088e03
call eax
cmp dword [0x102597a4], 0
je 0x10088eb9
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x102596c3
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088e45
push 0x10
push str.Error
push str.Plugin_Camera_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x102597a4]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x102596c3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10088a6e
push 0x104
lea ecx, [ebp - 0x148]
push ecx
push eax
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x102597a4]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088eb9
call eax
cmp dword [0x102597a8], 0
je 0x10088f6c
lea ecx, [ebp - 0x5d0]
call fcn.10007a60
push ecx
lea eax, [ebp - 0x14]
push eax
push 0x102596e3
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
jne 0x10088efb
push 0x10
push str.Error
push str.Plugin_HackDLL_CRC_error_
jmp 0x10088a6a
mov eax, dword [0x102597a8]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x102596e3
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10088a6e
push 0x104
lea eax, [ebp - 0x148]
push eax
push ebx
call esi
push ecx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.10007b90
test al, al
je 0x10088a6e
mov eax, dword [0x102597a8]
cmp eax, dword [ebp - 0x14]
jne 0x10088a6e
push 0x1019d69c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10088f6c
call eax
call fcn.1000c8d0
call fcn.100aa239
mov eax, 0x100aa7f0
mov byte [ebp - 0x1c], 0xe8
sub eax, 0x836486
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x836481
call edi
test eax, eax
je 0x10088fc8
mov eax, dword [ebp - 0x1c]
mov ecx, 0x836481
mov dword [ecx], eax
mov al, byte [ebp - 0x18]
mov byte [ecx + 4], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
push 5
push ecx
call edi
test eax, eax
jne 0x10088fce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xe8
mov edx, 0x100aa760
mov ecx, 0x7dd304
call fcn.100ced10
push 0xe8
mov edx, 0x100aa760
mov ecx, 0x833b08
call fcn.100ced10
push 0x100481c0
push 0x56f476
push 0xe8
call fcn.100cf570
push 0x100481c0
push 0x5ebbe6
push 0xe8
call fcn.100cf570
push 0x4f9238
push 0x4f921d
push 0xe9
call fcn.100cf570
push 0x63f058
push 0x63f040
push 0xe9
call fcn.100cf570
push 0x10007d90
push 0x4f131e
push 0xe8
call fcn.100cf570
add esp, 0x44
cmp dword [0x10259788], 1
jne 0x100890a2
mov edx, 0x10259708
mov ecx, 0x954149
call fcn.100cf480
mov edx, 0x10259728
mov ecx, 0x954116
call fcn.100cf480
mov edx, 0x10259748
mov ecx, 0x9540e3
call fcn.100cf480
mov edx, 0x10259768
mov ecx, 0x9540ad
call fcn.100cf480
cmp dword [0x10259820], 1
jne 0x10089141
mov eax, 0x101feeac
nop dword [eax]
nop dword [eax + eax]
mov dword [eax], 0xffffffff
add eax, 0x20
cmp eax, 0x1020e8ac
jl 0x100890c0
push 0x1007f540
push 0x7e44d3
push 0xff
mov dword [0x1020e8ac], 0
mov dword [0x1020e8b4], 0
mov dword [0x1020e8b0], 0
call fcn.100cf570
push 0x1007f680
push 0x7e452f
push 0xff
call fcn.100cf570
push 0x1007f7e0
push 0x7e4497
push 0xe8
call fcn.100cf570
push 0x1007f7e0
push 0x7e44ec
push 0xe8
call fcn.100cf570
add esp, 0x30
call fcn.10068370
call fcn.100b36a0
call fcn.100b0da0
jmp 0x1008694a
call fcn.1014b779
call fcn.1014b779
call fcn.1014b779
call fcn.1014b779
call fcn.1014b779
call fcn.1014b779
call fcn.1014b779
int3