Function at 0x415bb0
Capabilities:
Inspect load icon resource
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43ffe9
mov eax, dword fs:[0]
push eax
sub esp, 0x6e8
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x6e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x6fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x70c]
xor esi, esi
lea eax, [ebp + 0x107c]
push 0x4431d0
xor ebx, ebx
mov dword [ebp + 0xe10], esi
call fcn.00403540
lea eax, [ebp + 0x1080]
push 0x4431d0
call fcn.00403540
lea eax, [ebp + 0x1084]
push 0x4431d0
call fcn.00403540
lea eax, [ebp + 0x1088]
push 0x444818
lea ebx, [esi + 1]
call fcn.00403540
mov dword [ebp + 0x10a0], esi
mov dword [ebp + 0x10a4], esi
mov dword [ebp + 0x10a8], esi
mov dword [ebp + 0x10ac], esi
mov dword [ebp + 0x10b0], esi
mov dword [ebp + 0x10b4], esi
mov dword [ebp + 0x10b8], esi
mov dword [ebp + 0x10bc], esi
mov dword [ebp + 0x10fc], esi
mov dword [ebp + 0x1098], esi
mov eax, dword [ebp + 0x108c]
cmp eax, esi
je 0x415c8c
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov ebx, dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
push esi
mov dword [ebp + 0x108c], esi
call ebx
lea eax, [ebp + 0x1090]
push 0x443140
xor edi, edi
mov dword [ebp + 0x108c], esi
call fcn.0040b660
mov dword [ebp + 0x1094], esi
mov dword [ebp + 0xdfc], esi
mov dword [ebp + 0xe2c], esi
mov eax, dword [ebp + 0x1110]
cmp eax, esi
je 0x415cd6
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push esi
mov dword [ebp + 0x1110], esi
call ebx
mov dword [ebp + 0x1110], esi
mov dword [ebp + 0x1114], esi
mov dword [ebp + 0x1118], esi
mov dword [ebp + 0x111c], esi
mov dword [ebp + 0x1120], esi
mov dword [ebp + 0x1124], esi
mov dword [ebp + 0x1128], esi
mov dword [ebp + 0x112c], esi
mov dword [ebp + 0x109c], esi
push str.game.ini
lea esi, [ebp + 0xe60]
call fcn.00424ed0
push 0x6b
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edx, dword [ebp + 0x10]
lea esi, [ebp + 0xac]
mov ecx, eax
call fcn.00422ec0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp + 0xe30]
push eax
call esi
lea ecx, [ebp + 0xe48]
push ecx
call esi
push 0x5d4
call fcn.0042834c
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x704], 0
test eax, eax
je 0x415d86
push eax
call fcn.00403fb0
jmp 0x415d88
xor eax, eax
mov dword [esp + 0x704], 0xffffffff
mov dword [ebp + 0xdfc], eax
mov dword [eax + 0x390], ebp
mov esi, dword [ebp + 0x3c]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x31c]
test eax, eax
je 0x415dc6
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x31c], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x31c], eax
test edi, edi
je 0x415dec
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x70]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x320]
test eax, eax
je 0x415e13
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x320], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x320], eax
test edi, edi
je 0x415e39
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x30]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x324]
test eax, eax
je 0x415e60
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x324], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x324], eax
test edi, edi
je 0x415e86
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x6c]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x32c]
test eax, eax
je 0x415ead
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x32c], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x32c], eax
test edi, edi
je 0x415ed3
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x88]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x328]
test eax, eax
je 0x415efd
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x328], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x328], eax
test edi, edi
je 0x415f23
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x8c]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x330]
test eax, eax
je 0x415f4d
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x330], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x330], eax
test edi, edi
je 0x415f73
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [ebp + 0x5c]
push esi
call ebx
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, esi
mov esi, dword [ebp + 0xdfc]
mov eax, dword [esi + 0x334]
test eax, eax
je 0x415f9a
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
mov dword [esi + 0x334], 0
call ebx
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [esi + 0x334], eax
test edi, edi
je 0x415fc0
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov edx, dword [ebp + 0xdfc]
push edx
call fcn.00404b20
mov eax, dword [ebp + 0xdfc]
mov eax, dword [eax + 0x38c]
mov dword [ebp + 0x46c], eax
test eax, eax
jne 0x416009
push eax
push 0x443f0c
push 0x44482c
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 0x10]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x416359
mov esi, dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
mov edi, 1
cmp dword [0x44f7c0], edi
je 0x41604f
mov edx, dword [ebp + 0x40]
push 0x4431d0
push str.style
push edx
call esi
mov eax, dword [ebp + 0x44]
push str.display:none_
push str.style
push eax
call esi
lea ecx, [ebp + 0x78]
push ecx
lea edx, [ebp + 0x74]
push edx
call fcn.00411640
mov dword [0x44f7c0], edi
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor eax, eax
push 0x76
push eax
lea ecx, [esp + 0x6e]
mov dword [esp + 0x70c], edi
push ecx
mov word [esp + 0x70], ax
call fcn.0042aa60
mov eax, dword [ebp + 0xdfc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
add eax, 0x7c
push eax
push 0x78
lea edx, [esp + 0x6c]
push edx
push 0
push 0x44483c
push str.version
call ebx
lea eax, [esp + 0x64]
push eax
push 0x444854
lea edi, [esp + 0x1c]
call fcn.004026d0
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [eax - 4], 1
jle 0x4160d8
mov ecx, dword [eax - 0xc]
push ecx
mov edx, edi
push edx
call fcn.00403440
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.HTMLayout.dll_HTMLayoutSetElementInnerText16]
test eax, eax
je 0x416109
mov edx, dword [esp + 0x14]
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4160f0
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
push edx
mov edx, dword [ebp + 0x24]
push edx
call edi
mov eax, dword [ebp + 0x30]
push str.start_game_over
push str.class
push eax
call esi
mov ecx, dword [ebp + 0x68]
push 5
push 0x444868
push ecx
call edi
mov edx, dword [ebp + 0x10]
push 0
push 1
push edx
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetOption]
push ebp
call fcn.00417270
push ebp
call fcn.004172f0
push ebp
call fcn.0041bda0
push ebp
call fcn.0041be20
mov eax, dword [ebp + 0x60]
push 0
push 0x4431d0
push eax
call edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xe6]
push edx
mov word [esp + 0xe8], cx
call fcn.0042aa60
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2ee]
push ecx
mov word [esp + 0x2f0], ax
call fcn.0042aa60
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x4f6]
push eax
mov word [esp + 0x4f8], dx
call fcn.0042aa60
add esp, 0xc
lea edi, [ebp + 0xe64]
push edi
push 0x208
lea ecx, [esp + 0xe4]
push ecx
push 0
push str.name1
push str.game
call ebx
push edi
push 0x208
lea edx, [esp + 0x2ec]
push edx
push 0
push str.head1_1
push str.game
call ebx
push edi
push 0x208
lea eax, [esp + 0x4f4]
push eax
push 0
push str.item1_1_1
push str.game
call ebx
lea eax, [esp + 0xdc]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416220
sub eax, edx
sar eax, 1
lea ecx, [esp + 0xdc]
mov ebx, eax
push ecx
lea eax, [ebp + 0x107c]
call fcn.00403540
lea eax, [esp + 0x2e4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416250
sub eax, edx
sar eax, 1
lea edx, [esp + 0x2e4]
mov ebx, eax
push edx
lea eax, [ebp + 0x1084]
call fcn.00403540
lea eax, [esp + 0x4ec]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416280
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x4ec]
mov ebx, eax
push ecx
lea eax, [ebp + 0x1088]
call fcn.00403540
mov ecx, ebp
call fcn.00417380
call sub.P2PTunnel.dll_public:_static_class_P2PTunnel::IP2PTunnelEngine____cdecl_P2PTunnel::IP2PTunnelEngine::CreateObject_void_
lea esi, [esp + 0x40]
mov dword [ebp + 0xe2c], eax
mov edx, dword [eax]
lea ecx, [ebp + 0xc]
push esi
push ecx
mov ecx, eax
mov eax, dword [edx]
call eax
xor eax, eax
mov ecx, 2
push 0x1388
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
mov word [esp + 0x20], cx
call dword [sym.imp.WS2_32.dll_htons]
push str.60.190.167.106
mov word [esp + 0x42], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebp, dword [ebp + 0xe2c]
mov dword [esp + 0x1e], eax
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call edx
mov dword [esp + 0x704], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416359
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x6fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6e0]
xor ecx, esp
call fcn.0042825b
add esp, 0x6f4
ret 4