Function at 0x439490
Capabilities:
Accept command line arguments
Initialize winsock library

Disassembly:
sub esp, 0x1dc
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0x1d8], eax
mov eax, dword [0x4cf698]
mov edx, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1f0]
push edi
mov ecx, 0x4cf698
mov dword [esp + 0x20], esi
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
push eax
xor edi, edi
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x1c], edi
jle 0x43950a
mov edx, dword [eax]
cmp edx, edi
jne 0x4394ea
xor eax, eax
jmp 0x4394ff
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4394f0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00403e20
push 0xa
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00410c70
mov eax, dword [eax]
push str.wotskin:__
push eax
call fcn.004875ec
add esp, 8
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43954f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4395a8
push 0x4acc90
push 0x4acc90
lea ecx, [esp + 0x14]
call fcn.00437f70
mov ecx, eax
call fcn.004372c0
push 0xa
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.00410c40
push eax
mov ecx, 0x4cf64c
call fcn.00410d70
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4395a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4ad224
push 0x4af0f0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439661
mov ecx, dword [0x4cf64c]
cmp dword [ecx - 0xc], edi
je 0x439631
push 0x4cf64c
lea edx, [esp + 0x14]
push str.TankSkin_
push edx
call fcn.00420320
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x48], edi
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
push edi
push 0x4a
lea edx, [ecx + ecx + 2]
push esi
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0043f920
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43965a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4398e8
lea ecx, [esp + 0x24]
push ecx
call fcn.004018d0
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x439679
mov eax, dword [eax + 4]
jmp 0x43967c
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004039d0
cmp dword [esp + 0x3c], 8
jb 0x43969a
mov edx, dword [esp + 0x28]
push edx
call fcn.0048668b
add esp, 4
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.00403ce0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004405e0
add esp, 4
cmp eax, edi
je 0x439723
push 0x40010
push 0x4ae254
push 0x4af110
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4396f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43965a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4398e8
call fcn.0043f850
cmp dword [eax + 0x24], edi
je 0x439732
call fcn.004378f0
call fcn.0043f850
push 0x4ac8d8
push str.False
push str.EULA
lea ecx, [esp + 0x1c]
push str.Config
push ecx
call fcn.0043f850
mov ecx, eax
call fcn.0043ef20
push eax
call fcn.004198b0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439787
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x439829
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov edi, vtable.CEULADlg.1.0
mov esi, vtable.CEULADlg.0
push 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x2c]
call fcn.00437230
test eax, eax
je 0x4397f6
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], esi
test eax, eax
je 0x4397dd
push eax
call fcn.00441801
lea ecx, [esp + 0x18]
call fcn.00403be0
lea ecx, [esp + 0xc]
call fcn.00403be0
xor eax, eax
jmp 0x4398e8
push 0x4ac8d8
push str.EULA
push str.Config
call fcn.0043f850
mov ecx, eax
call fcn.0043ef00
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], esi
test eax, eax
je 0x439827
push eax
call fcn.00441801
xor edi, edi
lea ecx, [esp + 0x54]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [esp + 0x1ec]
push edi
push eax
push edi
mov ecx, 0x4cf610
call fcn.00434370
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.004391b0
add esp, 8
mov ecx, 0x4cf610
mov esi, eax
call fcn.004373c0
call dword [sym.imp.ole32.dll_CoUninitialize]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4398c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4398e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004874cc
add esp, 0x1dc
ret 0x10