Function at 0x474f65
Capabilities:
Create process on windows
Read .ini file

Disassembly:
mov eax, 0x51d513
call fcn.004efe80
sub esp, 0x5b0
mov eax, dword [ebp + 8]
push ebx
push esi
cmp eax, 0x85
push edi
mov esi, ecx
je 0x476a64
cmp eax, 0xf
jne 0x474fb2
lea eax, [ebp - 0x1b4]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x1b4]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x476a64
cmp eax, 0x14
jne 0x474fbf
push 1
pop eax
jmp 0x477244
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x111
jne 0x475077
push 1
pop edi
cmp ecx, edi
jne 0x474ff1
cmp dword [esi + 0x8ff2c], 0
je 0x475070
lea ecx, [esi + 0x7e8]
call fcn.00437a76
jmp 0x475070
cmp ecx, 2
jne 0x475064
xor ebx, ebx
cmp dword [esi + 0x1b5a0], ebx
je 0x475014
push ebx
lea ecx, [esi + 0x1b540]
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0x7e8]
jmp 0x475052
cmp dword [esi + 0x47f5c], ebx
je 0x47502a
push ebx
lea ecx, [esi + 0x47efc]
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x475070
cmp dword [esi + 0x4cb6c], ebx
je 0x47503f
push edi
mov ecx, 0x57122c
call fcn.004bdc5d
jmp 0x475070
lea ebx, [esi + 0x7e8]
mov ecx, ebx
call fcn.00437427
test eax, eax
je 0x475059
mov ecx, ebx
call fcn.00437299
jmp 0x475070
push 2
mov ecx, esi
call fcn.004775ed
jmp 0x475070
cmp ecx, 0xe146
jne case.0x4750cc.1011
mov eax, edi
jmp 0x477244
cmp eax, 0x115
jne 0x4750a7
call fcn.0045fb57
mov ecx, eax
call fcn.0045fb8c
mov edi, eax
lea ecx, [esi + 0x90300]
inc edi
inc edi
call fcn.0047e2b4
cdq
idiv edi
inc eax
mov dword [0x56b32c], eax
jmp case.0x4750cc.1011
cmp eax, 0x1c
je case.0x4750cc.1011
cmp eax, 0x464
jne case.0x4750cc.1011
lea eax, [ecx - 0x3eb]
cmp eax, 0xcf
ja case.0x4750cc.1011
jmp dword [eax*4 + 0x477255]
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
push ebx
push edi
push 0x29
lea ecx, [esi + 0x6ec68]
call fcn.0041cbf9
push edi
jmp 0x476ccd
xor ebx, ebx
push ebx
push ebx
push 0x21
jmp 0x476b66
push edi
mov ecx, 0x570d68
call fcn.004bcad5
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je case.0x4750cc.1011
push eax
call fcn.004d03d1
mov ecx, eax
call fcn.004d0436
cmp eax, 0x564
mov dword [ebp - 0x20], eax
jl 0x475170
mov ecx, dword [ebp - 0x10]
call fcn.004b2a23
mov ecx, eax
mov eax, dword [ebp - 0x20]
cdq
idiv ecx
cmp eax, 5
jl 0x475170
push dword [0x570d6c]
mov ecx, 0x56d0b0
call fcn.004bff40
test eax, eax
jne 0x475170
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push edi
push 0x2b9c
mov ecx, eax
call dword [edx + 0x3c]
push eax
push 0x27
jmp 0x476b66
push edi
push ebx
push 0x20
jmp 0x476b66
mov ecx, 0x56d0b0
call fcn.004afee7
jmp case.0x4750cc.1011
test edi, edi
je case.0x4750cc.1011
push edi
mov ecx, 0x56d0b0
call fcn.004ae156
jmp case.0x4750cc.1011
xor ebx, ebx
cmp edi, ebx
jl case.0x4750cc.1011
cmp edi, 1
jle 0x475204
cmp edi, 2
jne case.0x4750cc.1011
cmp dword [esi + 0x1be0], ebx
je 0x4751d0
lea ecx, [esi + 0x1b74]
call fcn.0040cb77
jmp case.0x4750cc.1011
cmp dword [esi + 0xa6c], ebx
je 0x4751e8
lea ecx, [esi + 0xa00]
call fcn.0040d44d
jmp case.0x4750cc.1011
cmp dword [esi + 0x3080], ebx
je case.0x4750cc.1011
lea ecx, [esi + 0x3014]
call fcn.004101d3
jmp case.0x4750cc.1011
lea ecx, [esi + 0x984]
call fcn.0040e4f7
jmp case.0x4750cc.1011
lea eax, [esi + 0x9012c]
xor ebx, ebx
cmp dword [eax], ebx
je 0x475222
mov dword [eax], ebx
push ebx
push ebx
push 0x1e
jmp 0x476b66
xor ebx, ebx
sub edi, ebx
je 0x4752b6
sub edi, 3
je 0x4752a6
dec edi
je 0x47527a
dec edi
je 0x47525a
dec edi
jne case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004aa8fc
push eax
push ebx
push 0x1b
jmp 0x476b66
mov ecx, 0x56d0b0
call fcn.004aa8fc
push eax
push 0x79
push 0x464
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push 0x2af9
mov ecx, eax
call dword [edx + 0x3c]
push eax
push 0x1c
lea ecx, [esi + 0x6ec68]
call fcn.0041cbf9
mov dword [esi + 0x9012c], ebx
jmp case.0x4750cc.1011
lea ecx, [esi + 0x54660]
call fcn.00445126
jmp case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004aa910
push eax
lea ecx, [esi + 0x540c8]
call fcn.0041e1d2
jmp case.0x4750cc.1011
lea ecx, [esi + 0x1b540]
call fcn.0043b8fc
mov ecx, esi
call fcn.00478305
jmp case.0x4750cc.1011
lea ecx, [esi + 0x13c10]
call fcn.0044cb14
lea ecx, [esi + 0x10af8]
call fcn.0044dff7
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x1dad0], ebx
jne case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004bd515
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push ebx
push eax
push ebx
jmp 0x476b66
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
push ebx
push edi
push 0x22
jmp 0x4750e1
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
lea ecx, [esi + 0x8ae44]
push edi
call fcn.0045e070
cmp dword [esi + 0x8aebc], ebx
jne 0x4750ec
lea ebx, [esi + 0x8ae44]
mov ecx, ebx
call fcn.0045e0d2
push 5
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x4750ec
lea ecx, [esi + 0x55ad8]
call fcn.00417b75
jmp case.0x4750cc.1011
push edi
push 0x56ab48
push 0x31
jmp 0x476b66
xor ebx, ebx
push ebx
push ebx
jmp 0x4753b2
push 1
mov ecx, 0x56d0b0
call fcn.004bd004
push eax
push edi
lea ecx, [esi + 0x8bc20]
call fcn.00428d66
jmp case.0x4750cc.1011
push 5
lea ecx, [esi + 0x580ec]
jmp 0x476f95
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push edi
push 0x2bc0
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea eax, [ebp - 0x174]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
xor ebx, ebx
lea eax, [ebp - 0x174]
mov byte [ebp - 0x75], bl
push ebx
push eax
push 0x34
jmp 0x476b66
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
mov al, byte [0x56ab48]
push 0x3f
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x174]
push eax
push str._s_u
push dword [ebp + 0x10]
mov byte [ebp - 0x75], bl
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
lea eax, [ebp - 0x174]
lea edi, [esi + 0x8b0e8]
push dword [ebp - 0x10]
push eax
push ebx
mov ecx, edi
call fcn.0045e487
cmp dword [esi + 0x8b174], ebx
jne 0x475484
mov ecx, edi
call fcn.0045e5d6
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push dword [ebp + 0x10]
jmp 0x476ccd
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
mov al, byte [0x56ab48]
push 0x3f
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x174]
push eax
push str._s_u
push dword [ebp + 0x10]
mov byte [ebp - 0x75], bl
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
lea eax, [ebp - 0x174]
lea edi, [esi + 0x8b0e8]
push dword [ebp - 0x10]
push eax
push 1
jmp 0x475465
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
mov al, byte [0x56ab48]
push 0x3f
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x174]
push eax
push str._s_u
push dword [ebp + 0x10]
mov byte [ebp - 0x75], bl
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
lea eax, [ebp - 0x174]
lea edi, [esi + 0x8b0e8]
push dword [ebp - 0x10]
push eax
push 2
jmp 0x475465
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
mov al, byte [0x56ab48]
push 0x3f
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x174]
push eax
push str._s_u
push dword [ebp + 0x10]
mov byte [ebp - 0x75], bl
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
lea eax, [ebp - 0x174]
lea edi, [esi + 0x8b0e8]
push dword [ebp - 0x10]
push eax
push 3
jmp 0x475465
push edi
push 0
jmp 0x4771ad
push edi
push 0
jmp 0x4771bd
sub edi, 0
je 0x4755d4
dec edi
jne case.0x4750cc.1011
push 2
lea ecx, [esi + 0x73b4c]
call fcn.00451c2b
jmp case.0x4750cc.1011
push 1
lea ecx, [esi + 0x73b4c]
call fcn.00451c2b
push 1
lea ecx, [esi + 0x6fbb4]
call fcn.0041681c
jmp case.0x4750cc.1011
lea ebx, [esi + 0x6fbb4]
mov ecx, ebx
call fcn.004167dd
test al, al
je case.0x4750cc.1011
push edi
mov ecx, ebx
call fcn.00416d34
cmp dword [esi + 0x6fc2c], 0
jne case.0x4750cc.1011
push 5
mov ecx, ebx
jmp 0x476f95
lea ebx, [esi + 0x6fbb4]
mov ecx, ebx
call fcn.004167dd
test al, al
je case.0x4750cc.1011
push edi
mov ecx, ebx
call fcn.004169c4
jmp case.0x4750cc.1011
xor ebx, ebx
sub edi, ebx
je 0x475692
dec edi
je 0x475669
dec edi
dec edi
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438e5a
jmp case.0x4750cc.1011
cmp dword [esi + 0x5bc0], ebx
je 0x47567d
push ebx
lea ecx, [esi + 0x5b54]
call sub.MFC42.DLL_CWnd::ShowWindow
lea edi, [esi + 0xcaac]
mov ecx, edi
call fcn.004430c9
cmp dword [esi + 0xcb18], ebx
jmp 0x4756b9
cmp dword [esi + 0xcb18], ebx
je 0x4756a6
push ebx
lea ecx, [esi + 0xcaac]
call sub.MFC42.DLL_CWnd::ShowWindow
lea edi, [esi + 0x5b54]
mov ecx, edi
call fcn.0044188c
cmp dword [esi + 0x5bc0], ebx
jne case.0x4750cc.1011
push 5
mov ecx, edi
jmp 0x476f95
sub edi, 0
je 0x4756e4
dec edi
jne case.0x4750cc.1011
lea ecx, [esi + 0xcaac]
call fcn.004430c9
jmp case.0x4750cc.1011
lea ecx, [esi + 0x5b54]
call fcn.0044188c
jmp case.0x4750cc.1011
xor ebx, ebx
push ebx
push ebx
push 0x17
jmp 0x476b66
lea ecx, [esi + 0x7e8]
call fcn.00437299
xor ebx, ebx
mov dword [esi + 0x980], 0xe
cmp dword [esi + 0x260a8], ebx
je 0x47572a
push ebx
lea ecx, [esi + 0x26048]
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x546c8], ebx
je 0x475767
push ebx
lea ecx, [esi + 0x54660]
call sub.MFC42.DLL_CWnd::ShowWindow
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2afb
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
cmp dword [esi + 0x62fbc], ebx
je 0x47577b
push ebx
lea ecx, [esi + 0x60ed0]
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0x1da70]
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x1b5a0], ebx
jne case.0x4750cc.1011
push 5
lea ecx, [esi + 0x1b540]
jmp 0x476f95
lea ecx, [esi + 0x1da70]
call fcn.0045aefc
jmp case.0x4750cc.1011
lea ecx, [esi + 0x1da70]
call fcn.0045b0b2
jmp case.0x4750cc.1011
xor ebx, ebx
cmp edi, ebx
jmp case.0x4750cc.1011
xor ebx, ebx
push ebx
push ebx
push 0x35
jmp 0x476b66
lea edi, [esi + 0x8a464]
mov ecx, edi
call fcn.004c4431
cmp eax, 2
jl case.0x4750cc.1011
cmp eax, 3
jg case.0x4750cc.1011
mov ecx, edi
call fcn.0045ddb4
xor ebx, ebx
push ebx
push ebx
push 0x36
jmp 0x476b66
lea edi, [esi + 0x1da70]
mov ecx, edi
call fcn.0045b315
mov ecx, edi
call fcn.0045b378
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x277c
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
push 1
lea ecx, [esi + 0x22dd0]
call fcn.00458659
jmp case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004bcfb0
xor ebx, ebx
test eax, eax
je 0x4758bc
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x277d
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
push 0x3c
mov ecx, esi
call fcn.004731e4
push ebx
lea ecx, [esi + 0x1da70]
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0x1b540]
call fcn.0043b8fc
jmp case.0x4750cc.1011
push 0
lea ecx, [esi + 0x1da70]
jmp 0x476f95
lea ecx, [esi + 0x2ba68]
call fcn.00423572
jmp case.0x4750cc.1011
cmp dword [esi + 0x260a8], 0
je 0x475912
lea ecx, [esi + 0x26048]
call fcn.0041380e
lea ecx, [esi + 0x2ba68]
call fcn.00423751
jmp case.0x4750cc.1011
lea ecx, [esi + 0x19b84]
call fcn.0042a1cb
jmp case.0x4750cc.1011
lea ecx, [esi + 0x19b84]
call fcn.0042a2c4
jmp case.0x4750cc.1011
lea ecx, [esi + 0x25014]
call fcn.0042baaf
jmp case.0x4750cc.1011
mov edi, 0x56d0b0
mov ecx, edi
call fcn.004c2785
test al, al
mov ecx, edi
je 0x47596e
call fcn.004c1ff7
jmp case.0x4750cc.1011
call fcn.004c2692
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push 0
push eax
push 2
jmp 0x476b66
mov edi, 0x56d0b0
mov ecx, edi
call fcn.004c2799
test al, al
mov ecx, edi
je 0x4759a8
call fcn.004c2488
jmp case.0x4750cc.1011
call fcn.004c2692
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push 0
push eax
push 1
jmp 0x476b66
lea ecx, [esi + 0x129d4]
call fcn.00450127
jmp case.0x4750cc.1011
mov eax, dword [0x56e294]
xor ebx, ebx
sub eax, ebx
je 0x4759ff
dec eax
je 0x4759f8
dec eax
je 0x4759f1
dec eax
jne 0x475a19
push str.Button412
jmp 0x475a0e
push str.Button48
jmp 0x475a0e
push str.Button49
jmp 0x475a0e
mov dword [esi + 0x854], 1
push str.Button47
lea ecx, [esi + 0x6e3f0]
call fcn.0046088f
push 0x56d134
lea eax, [ebp - 0x54]
push str._sRecord
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
lea eax, [ebp - 0x54]
push 0x5b
push eax
call edi
add esp, 0x14
cmp eax, ebx
je 0x475a53
push 1
push 0x55ca2c
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x5d
push eax
call edi
pop ecx
cmp eax, ebx
pop ecx
je 0x475a72
push 1
push 0x55ca28
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0xa
push eax
push dword [0x56e294]
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea eax, [esi + 0x90090]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x54]
push str.PkModeRecord
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.0x4750cc.1011
lea eax, [ebp - 0x1b4]
push 0xa
push eax
push 0x56d134
call fcn.00434ca9
pop ecx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__i64toa]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x1b4]
lea eax, [esi + 0x90090]
push ecx
push 0x5716dc
push str.Log__s__s_Setup.ini
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x54]
push 0x56d134
push str._sRecord
push eax
call edi
lea eax, [ebp - 0x54]
push 0x5b
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x14
cmp eax, ebx
je 0x475b1e
push 1
push 0x55ca2c
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [ebp - 0x54]
push 0x5d
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
cmp eax, ebx
pop ecx
je 0x475b41
push 1
push 0x55ca28
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea eax, [esi + 0x90090]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push str.RecordAmount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
jne 0x475bd2
push 0x56d134
push 0x5716dc
lea eax, [esi + 0x90090]
push str.Log__s__s_Setup.ini
push eax
call edi
add esp, 0x10
lea eax, [esi + 0x90090]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push str.RecordAmount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
jne 0x475bd2
lea eax, [ebp - 0x1b4]
push 0xa
push eax
push 0x56d134
call fcn.00434ca9
pop ecx
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__i64toa]
add esp, 0x10
lea eax, [ebp - 0x1b4]
push eax
push 0x5716dc
lea eax, [esi + 0x90090]
push str.Log__s__s_Setup.ini
push eax
call edi
add esp, 0x10
lea eax, [esi + 0x90090]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push str.LineRecord
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x475c1c
push eax
lea ecx, [esi + 0x90300]
call fcn.0047e3c2
call fcn.0045fb57
mov ecx, eax
call fcn.0045fb8c
mov ecx, eax
mov eax, dword [ebp - 0x10]
inc ecx
cdq
inc ecx
idiv ecx
inc eax
mov dword [0x56b32c], eax
jmp 0x475c43
call fcn.0045fb57
mov ecx, eax
call fcn.0045fb8c
inc eax
lea ecx, [esi + 0x90300]
inc eax
lea eax, [eax + eax*4]
push eax
call fcn.0047e3c2
mov dword [0x56b32c], 6
lea eax, [esi + 0x90090]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
push str.LogRecord
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
jne 0x475c67
mov dword [0x56b4e4], ebx
jmp 0x475c84
cmp eax, 1
jne 0x475c84
push ebx
push eax
push 0xf1
mov dword [0x56b4e4], eax
push dword [esi + 0x8fe8c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x10], ebx
mov eax, 0x56b4f4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x74]
push dword [ebp - 0x10]
push str.HotKey_d_d
push eax
call edi
add esp, 0x10
lea eax, [esi + 0x90090]
push eax
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x20]
inc dword [ebp - 0x28]
add dword [ebp - 0x20], 4
cmp dword [ebp - 0x28], 0xa
mov dword [ecx], eax
jl 0x475c92
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x10]
cmp eax, 0x56b60c
jl 0x475c8c
lea edi, [esi + 0x90090]
lea eax, [ebp - 0x54]
push edi
push 0xffffffffffffffff
push str.FacWordRecord
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
lea ecx, [esi + 0x7e8]
mov dword [esi + 0x90114], eax
call fcn.004382f0
mov ecx, esi
call fcn.00478305
lea ecx, [esi + 0x10af8]
call fcn.0044dff7
mov ecx, esi
call fcn.0047922d
jmp case.0x4750cc.1011
cmp dword [esi + 0x8ca64], 0
jne case.0x4750cc.1011
push 5
lea ecx, [esi + 0x8ca04]
jmp 0x476f95
lea ecx, [esi + 0x14920]
call fcn.0044f1ac
jmp case.0x4750cc.1011
lea ecx, [esi + 0x14920]
call fcn.00445794
jmp case.0x4750cc.1011
lea ecx, [esi + 0x32b1c]
call fcn.0044b373
jmp case.0x4750cc.1011
lea ecx, [esi + 0x32b1c]
call fcn.0044bbdf
xor ebx, ebx
cmp dword [esi + 0x850], ebx
jne case.0x4750cc.1011
cmp dword [esi + 0x32b7c], ebx
jne case.0x4750cc.1011
cmp byte [0x55dd68], bl
je 0x475e26
mov ecx, 0x56d0b0
mov byte [0x55dd68], bl
xor edi, edi
call fcn.004c7453
push eax
lea eax, [ebp - 0x174]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x174]
push str.NULL
push eax
call sub.MSVCRT.dll_strcmp
add esp, 0x10
test eax, eax
je case.0x4750cc.1011
cmp byte [ebp - 0x174], bl
je case.0x4750cc.1011
lea eax, [ebp - 0x174]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jle 0x475e1a
movsx eax, byte [ebp + ebx - 0x174]
push eax
call sub.MSVCRT.dll_abs
add edi, eax
lea eax, [ebp - 0x174]
push eax
inc ebx
call sub.MSVCRT.dll_strlen
pop ecx
cmp ebx, eax
pop ecx
jl 0x475df7
cmp edi, dword [esi + 0x90114]
je case.0x4750cc.1011
mov dword [esi + 0x850], 1
jmp case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004c72ef
push eax
mov ecx, 0x571898
call fcn.004c9ba2
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push 0
push eax
push 4
jmp 0x476b66
mov eax, dword [0x56eecc]
xor ebx, ebx
push ebx
push eax
mov ecx, 0x571898
call fcn.004c93cb
cmp eax, ebx
je case.0x4750cc.1011
add eax, 0x84
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push ebx
push eax
push 3
jmp 0x476b66
push 1
jmp 0x475ea1
push 0
lea ecx, [esi + 0x6df30]
call fcn.00467788
jmp case.0x4750cc.1011
test byte [0x56d0bc], 0x20
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438a23
jmp case.0x4750cc.1011
xor ebx, ebx
lea ecx, [esi + 0x6de74]
push ebx
call fcn.00467788
push ebx
lea ecx, [esi + 0x2f2d8]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esi + 0x90088], 1
mov eax, dword [esi + 0x9007c]
cmp eax, ebx
je 0x475f2a
push eax
lea eax, [ebp - 0x74]
push str.MagicSkillType_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x74]
push ebx
push dword [esi + 0x9007c]
push eax
lea ecx, [esi + 0x6eb40]
call fcn.004653c6
jmp case.0x4750cc.1011
push ebx
lea eax, [ebp - 0x74]
push str.Magic_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x74]
push ebx
push ebx
jmp 0x475f19
cmp dword [0x56d934], 0x64
jae case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438af8
jmp case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438b0a
jmp case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438b66
jmp case.0x4750cc.1011
push 0
jmp 0x475f97
push dword [esi + 0x8fbd8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x475fa7
push 1
lea ecx, [esi + 0x8fbb8]
call fcn.004309b2
jmp case.0x4750cc.1011
lea edi, [esi + 0x8fc20]
xor ebx, ebx
cmp dword [edi], ebx
je case.0x4750cc.1011
push 1
lea ecx, [esi + 0x8fbb8]
call fcn.004309b2
mov dword [edi], ebx
jmp case.0x4750cc.1011
lea ecx, [esi + 0x3df2c]
call fcn.0043bff9
jmp case.0x4750cc.1011
cmp dword [esi + 0x84c], 0
lea eax, [esi + 0x84c]
jne case.0x4750cc.1011
mov dword [eax], 1
jmp case.0x4750cc.1011
lea ecx, [esi + 0x40dfc]
call fcn.0043d0db
jmp case.0x4750cc.1011
lea ecx, [esi + 0x3e7d0]
call fcn.0043acfe
jmp case.0x4750cc.1011
cmp dword [esi + 0x4560c], 0
je case.0x4750cc.1011
lea ecx, [esi + 0x455ac]
call fcn.0042ff20
jmp case.0x4750cc.1011
cmp dword [esi + 0x4560c], 0
je case.0x4750cc.1011
lea ecx, [esi + 0x455ac]
call fcn.0042ffa6
jmp case.0x4750cc.1011
cmp dword [esi + 0x467f0], 0
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.004391f0
jmp case.0x4750cc.1011
mov dword [esi + 0x90140], 0x11
jmp case.0x4750cc.1011
cmp dword [esi + 0x474a8], 0
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00439211
jmp case.0x4750cc.1011
mov dword [esi + 0x90140], 0x12
jmp case.0x4750cc.1011
xor ebx, ebx
mov ecx, 0x571898
push ebx
push edi
call fcn.004c93cb
cmp eax, ebx
je case.0x4750cc.1011
add eax, 0x84
push edi
push eax
push 0xe
jmp 0x476b66
lea ecx, [esi + 0x32b1c]
call fcn.0044bc2a
jmp case.0x4750cc.1011
lea ecx, [esi + 0x32b1c]
call fcn.0044bf0b
jmp case.0x4750cc.1011
push dword [esi + 0x9007c]
mov edi, 0x56d0b0
mov ecx, edi
call fcn.004c5189
xor ebx, ebx
cmp eax, ebx
je 0x47615f
mov ecx, eax
call fcn.004bd998
test eax, eax
je 0x476142
push dword [esi + 0x9007c]
lea eax, [ebp - 0x74]
push str.MagicSkillType_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x74]
lea ecx, [esi + 0x6eb40]
push ebx
push dword [esi + 0x9007c]
push eax
call fcn.004653c6
jmp 0x47615f
lea ecx, [esi + 0x6eb40]
call fcn.004654a2
mov eax, dword [esi + 0x9007c]
mov dword [esi + 0x90080], eax
mov dword [esi + 0x9007c], ebx
mov eax, dword [esi + 0x90080]
cmp eax, ebx
je 0x4761c0
push eax
mov ecx, edi
call fcn.004c5189
cmp eax, ebx
je 0x4761c0
mov ecx, eax
call fcn.004bd998
test eax, eax
je 0x4761c0
push dword [esi + 0x90080]
lea eax, [ebp - 0x74]
push str.MagicSkillType_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x74]
lea ecx, [esi + 0x6eb40]
push ebx
push dword [esi + 0x90080]
push eax
call fcn.004653c6
mov eax, dword [esi + 0x90080]
mov dword [esi + 0x9007c], eax
mov dword [esi + 0x90080], ebx
cmp dword [esi + 0x2e4f4], ebx
je 0x4761d3
lea ecx, [esi + 0x2e494]
call fcn.00434765
cmp dword [esi + 0x301cc], ebx
je 0x4761e6
lea ecx, [esi + 0x3016c]
call fcn.0042e9b5
cmp dword [esi + 0x2f338], ebx
je case.0x4750cc.1011
cmp byte [esi + 0x2f33c], 2
je case.0x4750cc.1011
cmp dword [esi + 0x2f344], ebx
jne case.0x4750cc.1011
cmp dword [esi + 0x2f348], ebx
jne case.0x4750cc.1011
lea ecx, [esi + 0x2f2d8]
call fcn.0045f013
jmp case.0x4750cc.1011
mov ecx, 0x56fed0
call fcn.004ad454
lea ecx, [esi + 0x47efc]
call fcn.0043ee3d
cmp dword [esi + 0x47ff8], 0
je case.0x4750cc.1011
push 0x56fed0
lea ecx, [esi + 0x47f7c]
jmp 0x47645b
cmp byte [0x56eea8], 0
je case.0x4750cc.1011
push 1
jmp 0x476279
xor ebx, ebx
cmp byte [0x56eea8], bl
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x2f2d8]
call fcn.0045f939
jmp case.0x4750cc.1011
push 1
jmp 0x47628f
push 0
lea ecx, [esi + 0x7e8]
call fcn.004392bf
jmp case.0x4750cc.1011
lea ecx, [esi + 0x4ee8c]
call fcn.004255b9
jmp case.0x4750cc.1011
lea ecx, [esi + 0x4cb0c]
call fcn.004251d5
jmp case.0x4750cc.1011
lea ecx, [esi + 0x4f240]
call fcn.004278ee
jmp case.0x4750cc.1011
lea ecx, [esi + 0x4f240]
call fcn.004279e7
jmp case.0x4750cc.1011
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
mov ebx, eax
call edi
mov edi, eax
mov eax, dword [ebx]
push 0x10
push 0x2785
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov eax, dword [edi]
push 0
push 0x289f
jmp 0x477139
lea ecx, [esi + 0x7e8]
call fcn.00437299
xor ebx, ebx
cmp dword [esi + 0x1b5a0], ebx
je 0x47632b
push ebx
lea ecx, [esi + 0x1b540]
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esi + 0x14920]
call fcn.0044f6f7
jmp case.0x4750cc.1011
lea ecx, [esi + 0x23268]
call fcn.004557ef
xor ebx, ebx
push ebx
push ebx
push 0x15
jmp 0x476b66
lea ecx, [esi + 0x7e8]
call fcn.00438cb1
jmp case.0x4750cc.1011
xor ebx, ebx
cmp edi, ebx
je case.0x4750cc.1011
push 5
push ebx
push ebx
push edi
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4750ec
lea ecx, [esi + 0x7e8]
call fcn.00437299
cmp dword [esi + 0x1b5a0], 0
jne 0x4763a0
push 5
lea ecx, [esi + 0x1b540]
call sub.MFC42.DLL_CWnd::ShowWindow
push dword [esi + 0x90134]
mov dword [esi + 0x980], 0x2b
push 1
jmp 0x4763e7
lea ecx, [esi + 0x7e8]
call fcn.00437299
cmp dword [esi + 0x1b5a0], 0
jne 0x4763d5
push 5
lea ecx, [esi + 0x1b540]
call sub.MFC42.DLL_CWnd::ShowWindow
push dword [esi + 0x90134]
mov dword [esi + 0x980], 0x2b
push 2
lea ecx, [esi + 0x51aec]
call fcn.0042ae30
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x29778], ebx
jne case.0x4750cc.1011
cmp dword [esi + 0x2bac8], ebx
jne case.0x4750cc.1011
push dword [esi + 0x90134]
lea ecx, [esi + 0x7e8]
push 3
call fcn.004379fb
jmp case.0x4750cc.1011
cmp dword [esi + 0x319e4], 0
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438bca
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x15bd8], ebx
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x15b5c]
call fcn.004157b1
jmp case.0x4750cc.1011
cmp dword [esi + 0x15c40], 0
je case.0x4750cc.1011
lea ecx, [esi + 0x15bdc]
call fcn.00414471
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x15bd8], ebx
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x15b5c]
jmp 0x476f95
xor ebx, ebx
cmp dword [esi + 0x47ff8], ebx
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x47f7c]
jmp 0x476f95
xor ebx, ebx
cmp dword [esi + 0x47f5c], ebx
je 0x4764cc
push ebx
lea ecx, [esi + 0x47efc]
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x1b5a0], ebx
je case.0x4750cc.1011
push ebx
jmp 0x475796
xor ebx, ebx
cmp dword [esi + 0x15c40], ebx
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x15bdc]
jmp 0x476f95
xor ebx, ebx
cmp dword [esi + 0x29778], ebx
je 0x47651c
push ebx
lea ecx, [esi + 0x29718]
call sub.MFC42.DLL_CWnd::ShowWindow
push ebx
push 0x16
call fcn.004a308a
pop ecx
jmp 0x476cd2
cmp dword [esi + 0x2bac8], ebx
jne case.0x4750cc.1011
push 0xb48
jmp 0x4769b8
cmp dword [esi + 0x58018], 0
jne case.0x4750cc.1011
push 5
lea ecx, [esi + 0x57fac]
jmp 0x476f95
xor ebx, ebx
cmp dword [esi + 0x58018], ebx
je case.0x4750cc.1011
push ebx
jmp 0x476541
lea ecx, [esi + 0x59c64]
mov dword [esi + 0x59cc8], edi
call fcn.00447cdd
jmp case.0x4750cc.1011
mov ecx, esi
call fcn.00479400
jmp case.0x4750cc.1011
lea ecx, [esi + 0x59c64]
call fcn.004489b3
jmp case.0x4750cc.1011
lea ecx, [esi + 0x59c64]
call fcn.00448a79
jmp case.0x4750cc.1011
push dword [esi + 0x59c84]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4765b3
push 0
jmp 0x4765b5
push 5
lea ecx, [esi + 0x59c64]
jmp 0x476f95
lea eax, [esi + 0x7e8]
xor ebx, ebx
cmp eax, ebx
je case.0x4750cc.1011
cmp dword [eax + 0x20], ebx
je case.0x4750cc.1011
push ebx
jmp 0x4765b5
lea eax, [esi + 0x8ad40]
lea ecx, [esi + 0x28ff0]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp case.0x4750cc.1011
push dword [esi + 0x59f14]
lea ecx, [esi + 0x28ff0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0x138a
lea ecx, [esi + 0x28048]
call fcn.00457c90
jmp case.0x4750cc.1011
push 0
mov ecx, 0x56d0b0
call fcn.004aafdc
push eax
push 0x3a
jmp 0x4771e2
xor ebx, ebx
cmp dword [esi + 0x582b4], ebx
jne case.0x4750cc.1011
push edi
mov ecx, 0x5717e0
call fcn.004bc7d1
cmp eax, ebx
mov dword [ebp - 0x10], eax
je case.0x4750cc.1011
mov al, byte [0x56ab48]
push 0x3f
mov byte [ebp - 0x174], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x20], eax
call edi
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
add ecx, 0x10
push ecx
mov ecx, eax
push dword [ebp - 0x20]
push 0x28f2
call dword [edx + 0x3c]
push eax
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov ecx, 0x56e0d8
call fcn.0047ce9a
push 0x28
pop ecx
sub ecx, eax
mov dword [ebp - 0x20], ecx
jne 0x4766d2
call edi
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2909
jmp 0x47698a
mov ecx, dword [ebp - 0x10]
mov eax, dword [0x56ded8]
xor edx, edx
div dword [ecx + 0x5c]
cmp eax, ebx
jne 0x4766fd
call edi
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x290a
jmp 0x47698a
cmp dword [ebp - 0x20], eax
jge 0x476717
push ebx
push dword [ebp - 0x20]
push ecx
lea ecx, [esi + 0x5822c]
call fcn.00418f16
jmp case.0x4750cc.1011
push 1
push eax
jmp 0x476706
mov al, byte [0x56ab48]
lea edi, [ebp - 0x33]
mov byte [ebp - 0x34], al
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 0x10], 0
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je case.0x4750cc.1011
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
push str._s__u__d
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x14
cmp eax, 3
jne 0x475484
push dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push dword [ebp - 0x20]
push eax
call fcn.00408fd0
mov ecx, eax
call fcn.004086a8
jmp 0x475484
call fcn.00408fd0
mov ecx, eax
call fcn.00408885
mov eax, dword [0x56d14c]
mov edi, dword [0x56d0f6]
push eax
mov ecx, 0x56d0b0
call fcn.004b8797
push eax
movzx eax, di
push eax
push 0x56d134
call fcn.004a2e5e
mov ecx, eax
call fcn.004a3022
jmp case.0x4750cc.1011
push dword [ebp + 0x10]
mov ecx, 0x56af98
call fcn.004cce22
mov cl, byte [0x56ab48]
mov edx, eax
xor eax, eax
lea edi, [ebp - 0x1b]
mov byte [ebp - 0x1c], cl
push 0x3f
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x174], cl
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c]
push eax
push 0x55bbc0
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push 0x2b0e
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea eax, [ebp - 0x174]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x174]
lea ecx, [esi + 0x8b470]
push dword [ebp + 0x10]
push eax
call fcn.0043421a
jmp case.0x4750cc.1011
lea ecx, [esi + 0x8aa4c]
call fcn.004561ad
jmp case.0x4750cc.1011
xor ebx, ebx
lea edi, [esi + 0x60844]
cmp dword [esi + 0x608a4], ebx
je 0x47687e
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
jmp case.0x4750cc.1011
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 1
jmp 0x476872
lea edi, [esi + 0x60844]
xor ebx, ebx
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push ebx
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov edi, 0x56d0b0
mov ecx, edi
call fcn.004aaae6
test al, al
je case.0x4750cc.1011
mov ecx, edi
call fcn.004aab48
jmp case.0x4750cc.1011
mov edi, 0x56d0b0
mov ecx, edi
call fcn.004aaafa
xor ebx, ebx
mov ecx, 0x571898
push ebx
push eax
call fcn.004c93cb
cmp eax, ebx
mov dword [ebp - 0x28], eax
je 0x476c21
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xf423f
ja 0x476c21
mov eax, dword [eax + 0x3cc]
cmp eax, 0xf
jg 0x476aa3
je 0x476aea
cmp eax, 5
jg 0x4769e6
je 0x4769ca
cmp eax, 1
je 0x47699f
cmp eax, 2
je 0x476939
jle case.0x4750cc.1011
cmp eax, 4
jle 0x476ac5
jmp case.0x4750cc.1011
mov ecx, edi
call fcn.004ab2f1
test eax, eax
je 0x476971
mov ecx, edi
call fcn.004ab2f1
cmp eax, 0x32
je 0x476971
cmp dword [esi + 0x8ca64], ebx
jne case.0x4750cc.1011
mov ebx, dword [ebp - 0x28]
mov ecx, edi
push dword [ebx + 0x3c]
call fcn.004cb9cc
mov eax, dword [ebx + 0x3c]
jmp 0x476adf
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2bad
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
jmp case.0x4750cc.1011
cmp dword [esi + 0x29778], ebx
jne case.0x4750cc.1011
cmp dword [esi + 0x2bac8], ebx
jne case.0x4750cc.1011
push ecx
push 1
lea ecx, [esi + 0x7e8]
call fcn.00437948
jmp case.0x4750cc.1011
cmp dword [esi + 0x32004], ebx
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438c20
jmp case.0x4750cc.1011
sub eax, 6
je 0x476a87
dec eax
je 0x476a6b
sub eax, 7
jne case.0x4750cc.1011
cmp ecx, dword [0x570dbc]
jne 0x476a07
push 1
jmp 0x476a2b
cmp dword [esi + 0x1dad0], ebx
jne 0x476a3b
cmp dword [esi + 0x40e5c], ebx
je 0x476a1f
cmp ecx, dword [0x570d6c]
je 0x476a3b
push ecx
mov ecx, 0x570d68
call fcn.004bcb15
push ebx
lea ecx, [esi + 0x7e8]
call fcn.00439152
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x289e
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
xor eax, eax
jmp 0x477244
cmp dword [esi + 0x3c2a0], ebx
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438c5b
jmp case.0x4750cc.1011
cmp dword [esi + 0x313c0], ebx
jne case.0x4750cc.1011
lea ecx, [esi + 0x7e8]
call fcn.00438b74
jmp case.0x4750cc.1011
sub eax, 0x10
je 0x476b34
sub eax, 5
je 0x476b21
dec eax
je 0x476b03
dec eax
dec eax
je 0x476b21
sub eax, 3
je 0x476aea
dec eax
dec eax
jne case.0x4750cc.1011
cmp dword [esi + 0x8ca64], ebx
jne case.0x4750cc.1011
push ecx
mov ecx, edi
call fcn.004cb9cc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3c]
mov dword [esi + 0x90134], eax
jmp case.0x4750cc.1011
cmp dword [esi + 0x8ca64], ebx
jne case.0x4750cc.1011
push ecx
mov ecx, edi
call fcn.004cb9cc
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2872
jmp 0x47698a
push 1
push 1
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004a7054
jmp case.0x4750cc.1011
mov ecx, edi
call fcn.004ab2f1
test eax, eax
je 0x476b76
mov ecx, edi
call fcn.004ab2f1
cmp eax, 0x32
je 0x476b76
push dword [ebp - 0x28]
mov ecx, edi
call fcn.004a7390
test eax, eax
je case.0x4750cc.1011
mov eax, dword [ebp - 0x28]
push dword [eax + 0x3c]
push ebx
push 0xd
lea ecx, [esi + 0x6ec68]
call fcn.0041cbf9
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2bae
jmp 0x47698a
xor ebx, ebx
cmp edi, ebx
jne case.0x4750cc.1011
movzx eax, word [edi]
mov dword [ebp - 0x14], eax
mov edi, 0x56d0b0
movzx eax, word [2]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.004aab0e
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, edi
call fcn.004aab26
cmp dword [0x570dc0], ebx
je 0x476bfd
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push ebx
push ebx
push 0xff0000
push 0x7d5
push 0x2b74
mov ecx, eax
call dword [edx + 0x3c]
push eax
mov ecx, 0x56af60
call fcn.0047d1c3
jmp 0x476c21
mov ecx, 0x56d2ec
call fcn.004cc502
mov ecx, 0x56d3b0
mov dword [ebp - 0x2c], eax
call fcn.004cc502
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x14]
jne 0x476c29
cmp eax, dword [ebp - 0x10]
jne 0x476c29
or eax, 0xffffffff
jmp 0x477244
mov ecx, edi
call fcn.004aaae6
test al, al
je 0x476c93
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x476cb2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x476cb2
cmp ecx, dword [ebp - 0x14]
jne 0x476c4c
cmp eax, dword [ebp - 0x10]
je 0x476cb2
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b75
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea eax, [ebp - 0x174]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0xc
lea eax, [ebp - 0x174]
mov ecx, 0x56af60
push ebx
push ebx
push 0xff0000
push 0x7d5
push eax
call fcn.0047d1c3
jmp 0x476cb2
push 1
mov ecx, edi
call fcn.004aaaed
mov ecx, dword [0x56d8fc]
cmp ecx, ebx
je 0x476cb2
mov eax, dword [ecx]
push 1
push str.autorun
call dword [eax + 0x10]
push dword [4]
mov ecx, edi
call fcn.004aab01
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.004a5ff3
push ebx
call sub.MFC42.DLL_operatordelete
pop ecx
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0
push 0x2b72
mov ecx, eax
call dword [edx + 0x3c]
push eax
push 0x1f
jmp 0x476b66
lea edi, [esi + 0x6ec68]
mov ecx, edi
call fcn.0041d90e
cmp eax, 0x1f
jne case.0x4750cc.1011
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x90074], 0xd
jne case.0x4750cc.1011
cmp dword [0x55dd64], 0xffffffff
je case.0x4750cc.1011
mov dword [esi + 0x90050], 1
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b36
jmp 0x476d76
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b37
jmp 0x476d76
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b38
jmp 0x476d76
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b39
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea ecx, [esi + 0x8bfa0]
call fcn.00428767
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b34
jmp 0x476da8
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b35
mov ecx, eax
call dword [edx + 0x3c]
push eax
lea ecx, [esi + 0x8bfa0]
call fcn.00428767
call sub.WINMM.dll_timeGetTime
push eax
mov ecx, 0x56d0b0
call fcn.004ab22a
jmp case.0x4750cc.1011
mov byte [esi + 0x903bc], 1
jmp case.0x4750cc.1011
mov dword [esi + 0x903b0], 1
jmp case.0x4750cc.1011
xor ebx, ebx
mov dword [esi + 0x903b0], ebx
mov byte [esi + 0x903bc], bl
jmp case.0x4750cc.1011
mov ecx, 0x5716c0
call fcn.004ba175
mov ecx, 0x56af60
call fcn.0047d670
lea ecx, [esi + 0x568]
call fcn.00454512
lea edi, [esi + 0x60]
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x55b4a8
push str.GOLOGIN
mov ecx, edi
call fcn.00432225
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x903b4], ebx
jle case.0x4750cc.1011
cmp dword [esi + 0x903b8], ebx
jle case.0x4750cc.1011
push 1
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenHeight_void_]
mov edi, dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenWidth_void_]
push eax
call edi
mov ecx, dword [0x56af4c]
push eax
push ebx
push ebx
call sub.MFC42.DLL_CWnd::MoveWindow
push 1
call dword [sym.imp.graphic.dll_public:_static_int___cdecl_CMyBitmap::GetScreenHeight_void_]
push eax
call edi
push eax
push ebx
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MoveWindow
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
mov ecx, eax
call sub.MFC42.DLL_CWnd::CenterWindow
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x14
call edi
push eax
mov eax, dword [ebp - 0x18]
add eax, 0xffffffec
lea edi, [esi + 0x8f974]
push eax
mov ecx, edi
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CWnd::MoveWindow
push ebx
mov ecx, edi
call fcn.004598de
lea ecx, [esi + 0x60]
call fcn.00433b79
lea ecx, [esi + 0x568]
call fcn.00454667
mov byte [esi + 0x903bd], 1
jmp case.0x4750cc.1011
lea ecx, [esi + 0x63eb0]
call fcn.004208fe
lea ecx, [esi + 0x69470]
call fcn.0041ef51
jmp case.0x4750cc.1011
xor ebx, ebx
push ebx
push ebx
push ebx
jmp 0x476f1c
xor ebx, ebx
push ebx
push ebx
push 1
lea ecx, [esi + 0x8c240]
call fcn.0041e577
jmp case.0x4750cc.1011
mov ecx, 0x56d0b0
call fcn.004ab237
sub eax, 0x35
je 0x476f52
dec eax
jne case.0x4750cc.1011
lea ecx, [esi + 0x6aee0]
call fcn.004224b5
jmp case.0x4750cc.1011
lea ecx, [esi + 0x63eb0]
call fcn.00421194
jmp case.0x4750cc.1011
xor ebx, ebx
cmp edi, ebx
jne case.0x4750cc.1011
cmp dword [0x56dc58], 0x46
push ebx
mov ecx, 0x56d0b0
jb 0x476f9f
call fcn.004b85c7
push 5
lea ecx, [esi + 0x6aee0]
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0x69470]
call sub.MFC42.DLL_CWnd::ShowWindow
jmp case.0x4750cc.1011
call fcn.004b85c7
push 5
lea ecx, [esi + 0x63eb0]
jmp 0x476f95
push 0
lea ecx, [esi + 0x6aee0]
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x476fa4
push 0
jmp 0x476f8f
xor ebx, ebx
cmp dword [esi + 0x6aed8], ebx
je 0x476fd7
push ebx
lea ecx, [esi + 0x69470]
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x6bcb0], ebx
je 0x476feb
push ebx
lea ecx, [esi + 0x6aee0]
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x6946c], ebx
je case.0x4750cc.1011
push ebx
jmp 0x476fa6
sub edi, 0xc
je 0x477018
dec edi
jne case.0x4750cc.1011
push 0
lea ecx, [esi + 0x19c08]
call fcn.004299a5
jmp case.0x4750cc.1011
push 1
jmp 0x477008
sub edi, 0x10
je 0x47703a
dec edi
jne case.0x4750cc.1011
push 0
lea ecx, [esi + 0x4f2c0]
call fcn.0042849f
jmp case.0x4750cc.1011
push 1
jmp 0x47702a
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0
push 0x2b9e
mov ecx, eax
call dword [edx + 0x3c]
push eax
push 0x28
jmp 0x476b66
lea ecx, [esi + 0x25014]
call fcn.0042bf2a
jmp case.0x4750cc.1011
push 0x3f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x173]
mov byte [ebp - 0x174], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push 0x2b8e
mov ecx, eax
call dword [edx + 0x3c]
mov edi, 0x56d0b0
mov dword [ebp - 0x10], eax
mov ecx, edi
call fcn.004c00e6
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe case.0x4750cc.1011
mov ecx, edi
call fcn.004c00e6
push eax
lea eax, [ebp - 0x174]
push dword [ebp - 0x10]
push 0xff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x174]
push ebx
push eax
push 0x25
jmp 0x476b66
lea ecx, [esi + 0x60ed0]
call fcn.0045cd03
xor ebx, ebx
cmp dword [esi + 0x73bd0], ebx
je case.0x4750cc.1011
cmp edi, ebx
je case.0x4750cc.1011
push edi
lea ecx, [esi + 0x73b4c]
call fcn.00451cd1
jmp case.0x4750cc.1011
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
mov ebx, eax
call edi
mov edi, eax
mov eax, dword [ebx]
push 0x10
push 0x2785
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov eax, dword [edi]
push 0
push 0x277e
mov ecx, edi
call dword [eax + 0x3c]
push eax
call fcn.004688d0
pop ecx
pop ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp case.0x4750cc.1011
xor ebx, ebx
cmp dword [esi + 0x63ea8], ebx
je case.0x4750cc.1011
lea ecx, [esi + 0x62fc0]
call fcn.0045d7b3
cmp eax, edi
jne case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x62fc0]
jmp 0x476f95
xor ebx, ebx
cmp dword [esi + 0x62fbc], ebx
je case.0x4750cc.1011
push ebx
lea ecx, [esi + 0x60ed0]
jmp 0x476f95
lea ecx, [esi + 0x60ed0]
call fcn.0045cbe0
jmp case.0x4750cc.1011
push edi
push 1
lea ecx, [esi + 0x73b4c]
call fcn.0045276f
jmp case.0x4750cc.1011
push edi
push 1
lea ecx, [esi + 0x73b4c]
call fcn.00451ed8
jmp case.0x4750cc.1011
call dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x3c]
xor ebx, ebx
cmp eax, ebx
je case.0x4750cc.1011
push ebx
push eax
push 0x3b
lea ecx, [esi + 0x73458]
call fcn.00445c15
jmp case.0x4750cc.1011
lea ecx, [ebp - 0x5bc]
call fcn.004d213d
and dword [ebp - 4], 0
push 0xe
mov ecx, 0x56d0b0
call fcn.004c2819
push eax
lea ecx, [ebp - 0x5bc]
call fcn.004d21ec
test eax, eax
je 0x477225
lea ecx, [ebp - 0x5bc]
call fcn.004ba420
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5bc]
call fcn.004d2198
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.MFC42.DLL_CWnd::WindowProc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc