Function at 0x4a42f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x308
mov eax, dword [0x68f500]
xor eax, esp
mov dword [esp + 0x304], eax
push esi
push edi
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov ecx, edx
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4350
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xa8]
call fcn.0040c390
cmp dword [esp + 0xb4], 7
lea edi, [esp + 0xa0]
mov esi, dword [esp + 0xb0]
cmova edi, dword [esp + 0xa0]
test esi, esi
je 0x4a4468
push 0x100
lea eax, [esp + 0x20c]
push 0
push eax
call fcn.005adb30
add esp, 0xc
mov ecx, 0x67b7a4
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x4a4406
movzx eax, al
add ecx, 2
mov byte [esp + eax + 0x208], 1
cmp ecx, 0x67b7a8
jne 0x4a43b4
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea edx, [edi + ecx*2]
mov ecx, 0x100
movzx eax, word [edx]
cmp ax, cx
jae 0x4a43f7
cmp byte [esp + eax + 0x208], 0
jne 0x4a4400
cmp edx, edi
je 0x4a4468
sub edx, 2
jmp 0x4a43e5
sub edx, edi
sar edx, 1
jmp 0x4a446b
lea eax, [esi - 1]
mov dword [esp + 0x58], 0x2f
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea edx, [edi + ecx*2]
nop dword [eax]
movzx esi, word [edx]
mov ecx, 2
mov eax, 0x67b7a4
cmp word [esp + 0x58], si
je 0x4a445b
cmp ecx, 1
je 0x4a4446
add eax, 2
dec ecx
cmp word [eax], si
jne 0x4a4434
test eax, eax
jne 0x4a445b
cmp edx, edi
je 0x4a444f
sub edx, 2
jmp 0x4a4420
mov esi, dword [esp + 0xb0]
or edx, 0xffffffff
jmp 0x4a446b
mov esi, dword [esp + 0xb0]
sub edx, edi
sar edx, 1
jmp 0x4a446b
or edx, 0xffffffff
inc edx
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x150], xmm0
cmp esi, edx
jb 0x4a5249
sub esi, edx
lea eax, [esp + 0xa0]
cmp esi, 0xffffffff
mov ecx, 0xffffffff
cmovb ecx, esi
cmp dword [esp + 0xb4], 7
push ecx
cmova eax, dword [esp + 0xa4]
lea ecx, [esp + 0x154]
lea eax, [eax + edx*2]
push eax
call fcn.0040c390
cmp dword [esp + 0x8c], 1
jle 0x4a4cbb
mov edi, dword [esp + 0x18]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov edx, dword [edi + 4]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4500
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.0040c390
push 0x50
lea eax, [esp + 0x104]
push 0
push eax
call fcn.005adb30
add esp, 0xc
lea ecx, [esp + 0x100]
call fcn.004ae1c0
cmp dword [esp + 0x34], 7
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
cmova ecx, dword [esp + 0x20]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x10c]
call fcn.004ae610
lea ecx, [esp + 0x100]
call fcn.004ae140
lea ecx, [esp + 0x20]
call fcn.0040a850
xor edx, edx
xorps xmm0, xmm0
mov esi, 2
movaps xmmword [esp + 0x60], xmm0
mov eax, 0xf
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov byte [esp + 0x60], dl
cmp dword [esp + 0x8c], esi
jle 0x4a47f5
mov edx, dword [edi + esi*4]
xorps xmm0, xmm0
mov ecx, edx
movaps xmmword [esp + 0x100], xmm0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a45d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x108]
call fcn.0040c390
push 0x50
lea eax, [esp + 0x1bc]
push 0
push eax
call fcn.005adb30
add esp, 0xc
lea ecx, [esp + 0x1b8]
call fcn.004ae1c0
cmp dword [esp + 0x114], 7
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0x110]
cmova ecx, dword [esp + 0x100]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c4]
call fcn.004ae610
lea ecx, [esp + 0x1b8]
call fcn.004ae140
push 1
push 0x674f44
push 0
lea ecx, [esp + 0x4c]
call fcn.0040cd90
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax]
push 2
push 0x67b7ac
movups xmmword [esp + 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x38], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
call fcn.0040ab60
lea ecx, [esp + 0xc0]
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [esp + 0xd4], 0xf
push dword [esp + 0xd0]
movd eax, xmm1
cmova ecx, eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0040ab60
mov ecx, dword [esp + 0xd4]
cmp ecx, 0xf
jbe 0x4a4738
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a472e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x4a476e
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4764
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
cmp ecx, 0xf
jbe 0x4a47b9
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a47af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
lea ecx, [esp + 0x100]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
call fcn.0040a850
inc esi
cmp esi, dword [esp + 0x8c]
jge 0x4a47ed
mov edi, dword [esp + 0x18]
jmp 0x4a45a7
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push 0x13
cmp eax, 0xf
lea ecx, [esp + 0x64]
push str.___no_proxy_server_
cmova ecx, dword [esp + 0x68]
push 0
call fcn.00458c00
add esp, 0xc
lea ecx, [esp + 0x60]
push 0
push 0x66b9cd
push 0x13
push eax
call fcn.004556e0
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call fcn.005b9c88
add esp, 4
push eax
push 0x66c57c
lea eax, [esp + 0x60]
push str.CONOUT_
push eax
call fcn.005c1598
mov edi, dword fs:[0x2c]
xorps xmm0, xmm0
mov eax, dword [0x6b59c4]
add esp, 0x10
movlpd qword [esp + 0x174], xmm0
movlpd qword [esp + 0x17c], xmm0
mov esi, dword [edi]
movlpd qword [esp + 0x184], xmm0
movlpd qword [esp + 0x18c], xmm0
movlpd qword [esp + 0x194], xmm0
movlpd qword [esp + 0x19c], xmm0
movlpd qword [esp + 0x1a4], xmm0
movlpd qword [esp + 0x1ac], xmm0
mov dword [esp + 0x170], 0x44
movaps xmmword [esp + 0x90], xmm0
cmp eax, dword [esi + 4]
jle 0x4a48f4
push 0x6b59c4
call fcn.005ab465
add esp, 4
cmp dword [0x6b59c4], 0xffffffff
jne 0x4a48f4
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x6b59c4
mov dword [0x6b59b0], eax
call fcn.005ab414
add esp, 4
mov eax, dword [0x6b59b8]
cmp eax, dword [esi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jle 0x4a493c
push 0x6b59b8
call fcn.005ab465
add esp, 4
cmp dword [0x6b59b8], 0xffffffff
jne 0x4a493c
push str.CreateProcessA
push dword [0x6b59b0]
call esi
push 0x6b59b8
mov dword [0x6b59b4], eax
call fcn.005ab414
add esp, 4
cmp dword [esp + 0x74], 0xf
lea edx, [esp + 0x90]
push edx
lea edx, [esp + 0x174]
push edx
push 0
push 0
push 2
push 0
push 0
lea ecx, [esp + 0x7c]
cmova ecx, dword [esp + 0x7c]
lea eax, [esp + 0x104]
cmp dword [esp + 0x118], 0xf
push 0
cmova eax, dword [esp + 0x108]
push ecx
push eax
call dword [0x6b59b4]
test eax, eax
je 0x4a4aad
push str.App:
push 0x6930e0
call fcn.00456640
cmp dword [esp + 0x104], 0xf
lea ecx, [esp + 0xf0]
push dword [esp + 0x100]
cmova ecx, dword [esp + 0xf4]
push ecx
push eax
call fcn.0045c310
add esp, 0x14
push eax
call fcn.004568b0
add esp, 4
push str.PID:
push 0x6930e0
call fcn.00456640
add esp, 8
mov ecx, eax
push dword [esp + 0x98]
call fcn.004a53a0
push eax
call fcn.004568b0
add esp, 4
push str.Args:
push 0x6930e0
call fcn.00456640
cmp dword [esp + 0x7c], 0xf
lea ecx, [esp + 0x68]
push dword [esp + 0x78]
cmova ecx, dword [esp + 0x6c]
push ecx
push eax
call fcn.0045c310
add esp, 0x14
push eax
call fcn.004568b0
mov edi, dword [edi]
add esp, 4
mov eax, dword [0x6b59bc]
cmp eax, dword [edi + 4]
jle 0x4a4a6e
push 0x6b59bc
call fcn.005ab465
add esp, 4
cmp dword [0x6b59bc], 0xffffffff
jne 0x4a4a6e
push str.DebugActiveProcessStop
push dword [0x6b59b0]
call esi
push 0x6b59bc
mov dword [0x6b59c8], eax
call fcn.005ab414
add esp, 4
push dword [esp + 0x98]
call dword [0x6b59c8]
test eax, eax
jne 0x4a4b37
push dword [esp + 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x94]
call esi
push dword [esp + 0x58]
call fcn.005b2743
add esp, 4
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x4a4ae3
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4ad9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
cmp ecx, 0xf
jbe 0x4a5219
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
jmp 0x4a4cac
mov eax, dword [0x6b59c0]
cmp eax, dword [edi + 4]
jle 0x4a4b79
push 0x6b59c0
call fcn.005ab465
add esp, 4
cmp dword [0x6b59c0], 0xffffffff
jne 0x4a4b79
push 0x67b80c
push dword [0x6b59b0]
call esi
push 0x6b59c0
mov dword [0x6b59a8], eax
call fcn.005ab414
add esp, 4
push 0xffffffffffffffff
push dword [esp + 0x94]
call dword [0x6b59a8]
push str.Exited
push 0x6930e0
call fcn.00456640
push eax
call fcn.004568b0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push dword [esp + 0x90]
call esi
push dword [esp + 0x94]
call esi
lea eax, [esp + 0x18]
push eax
call fcn.0041d3b0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp ecx, 0xc46535ff
jne 0x4a4bdc
cmp eax, 0x7fffffff
je 0x4a4c00
cmp eax, 0x7fffffff
jg 0x4a4c00
jl 0x4a4bed
cmp ecx, 0xc46535ff
jae 0x4a4c00
add ecx, 0x3b9aca00
mov dword [esp + 0x18], ecx
adc eax, 0
mov dword [esp + 0x1c], eax
jmp 0x4a4c10
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], getpeername
lea ecx, [esp + 0x18]
call fcn.0045c750
push dword [esp + 0x58]
call fcn.005b2743
add esp, 4
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x4a4c61
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4c57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
cmp ecx, 0xf
jbe 0x4a5219
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4cac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a524e
push ecx
push edx
call fcn.005abc35
add esp, 8
jmp 0x4a5219
call fcn.004a2d80
mov edx, 0xa
lea ecx, [edx - 5]
call fcn.004abed0
mov esi, eax
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
xor ecx, ecx
movaps xmmword [esp + 0x60], xmm0
mov eax, 7
mov dword [esp + 0x74], eax
mov word [esp + 0x60], cx
test esi, esi
je 0x4a4d25
nop dword [eax]
nop word [eax + eax]
mov edx, 0xfffff
mov ecx, 0x2e80
call fcn.004abed0
movzx eax, ax
lea ecx, [esp + 0x60]
push eax
call fcn.00453d90
sub esi, 1
jne 0x4a4d00
mov eax, dword [esp + 0x74]
cmp eax, 7
mov dword [esp + 0x100], 0x30
lea esi, [esp + 0x60]
mov dword [esp + 0x104], 0x40
cmova esi, dword [esp + 0x60]
push 0
mov dword [esp + 0x10c], 0x4a5260
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp dword [esp + 0x74], 7
xorps xmm0, xmm0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x60]
cmova eax, dword [esp + 0x60]
cmp byte [0x6942f0], 0
movups xmmword [esp + 0x118], xmm0
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], 0
je 0x4a4df5
lea ecx, [esp + 0x40]
call fcn.004ac780
push eax
mov ecx, 0x69429c
call fcn.0040a4d0
mov ecx, dword [esp + 0x54]
cmp ecx, 0xf
jbe 0x4a4df5
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a4deb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a5253
push ecx
push edx
call fcn.005abc35
add esp, 8
lea eax, [esp + 0x100]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [esp + 0x74], 7
lea eax, [esp + 0x60]
push 0
push dword [esp + 0x118]
cmova eax, dword [esp + 0x68]
push 0
push 0
push dword [0x694318]
push dword [0x694314]
push 0x64
push 0x64
push 0xe0000
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x694298], eax
test eax, eax
jne 0x4a4e70
push dword [esp + 0x114]
push dword [esp + 0x12c]
call dword [sym.imp.USER32.dll_UnregisterClassW]
push 0
push 0
push str.Couldnt_create_window
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4a5210
cmp byte [0x694310], 0
je 0x4a4e7d
push 0x11
jmp 0x4a4e7f
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
push dword [0x694298]
mov ecx, 0x691360
call fcn.0044fcd0
test al, al
jne 0x4a4ec9
call fcn.00450320
push dword [esp + 0x114]
push dword [esp + 0x12c]
call dword [sym.imp.USER32.dll_UnregisterClassW]
push 0
push 0
push str.Couldnt_initialize_DirectX
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4a5210
push 0xa
push dword [0x694298]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x694298]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.004a8520
call fcn.004a82c0
test al, al
jne 0x4a4ef6
call fcn.004a7c80
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov byte [esp + 0x17], 0
movaps xmmword [esp + 0xc0], xmm0
movq qword [esp + 0xd0], xmm0
mov dword [esp + 0xd8], 0
push 1
push 0
push 0
push 0
lea eax, [esp + 0xd0]
push eax
call edi
test eax, eax
je 0x4a4f5d
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4a50e9
mov eax, dword [0x694270]
test eax, eax
je 0x4a4f6b
mov eax, dword [eax + 0x74]
jmp 0x4a4f6d
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x4a4f78
call fcn.0048c140
call fcn.0048cec0
call fcn.004704a0
mov ecx, 0x691360
call fcn.0044ff10
movaps xmm0, xmmword [0x67be20]
movups xmmword [esp + 0x90], xmm0
call fcn.00471ef0
call fcn.00472290
mov eax, dword [0x694178]
push 0
push 0x69417c
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov eax, dword [0x694178]
lea edx, [esp + 0x90]
push edx
push dword [0x69417c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x694270]
xor ecx, ecx
mov eax, dword [eax + 0x1ae8]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0048b6d0
mov eax, dword [0x6941b4]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push str.League_of_Legends
push str.RCLIENT
call esi
test eax, eax
jne 0x4a506b
mov ecx, dword [0x691348]
mov edx, dword [0x69134c]
mov byte [0x691378], 1
mov byte [esp + 0x17], 1
cmp ecx, edx
je 0x4a5042
push ecx
call fcn.00458da0
mov eax, dword [0x691348]
add esp, 4
mov dword [0x69134c], eax
push str.Riot_Client
push 0
call esi
test eax, eax
je 0x4a505f
cmp dword [0x6912c0], 0
jne 0x4a5088
call fcn.004a7c80
jmp 0x4a5088
mov dword [0x6912c0], 0
jmp 0x4a5088
cmp byte [esp + 0x17], 0
je 0x4a5088
call fcn.004a8520
call fcn.004a82c0
mov byte [0x691378], 0
mov byte [esp + 0x17], 0
lea eax, [esp + 0x18]
push eax
call fcn.0041d3b0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [esp + 0x1c]
cmp ecx, 0xfff0bdbf
jne 0x4a50ac
cmp eax, 0x7fffffff
je 0x4a50d0
cmp eax, 0x7fffffff
jg 0x4a50d0
jl 0x4a50bd
cmp ecx, 0xfff0bdbf
jae 0x4a50d0
add ecx, 0xf4240
mov dword [esp + 0x58], ecx
adc eax, 0
mov dword [esp + 0x5c], eax
jmp 0x4a50e0
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], getpeername
lea ecx, [esp + 0x58]
call fcn.0045c750
cmp dword [esp + 0xc4], 0x12
jne 0x4a4f26
call fcn.00420c20
mov esi, dword [0x694270]
test esi, esi
je 0x4a510b
mov edi, dword [esi + 0x74]
jmp 0x4a510d
xor edi, edi
call fcn.0048c4c0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4a511f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4a512b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4a5138
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0xc], 0xfffffff7
mov eax, dword [0x694270]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x4a5159
dec dword [eax + 0xb0]
push edi
call fcn.005b1e4a
mov eax, dword [0x694270]
add esp, 4
test eax, eax
je 0x4a5170
mov edi, dword [eax + 0x70]
jmp 0x4a5172
xor edi, edi
mov ecx, dword [edi + 0x28]
lea esi, [eax + 8]
test ecx, ecx
je 0x4a5188
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x694270]
and dword [esi + 4], 0xfffffff8
mov dword [esi + 0x60], 0
mov dword [esi + 0x68], 0
test eax, eax
je 0x4a51a4
dec dword [eax + 0xb0]
push edi
call fcn.005b1e4a
mov esi, dword [0x694270]
add esp, 4
mov dword [0x694270], esi
call fcn.0046e190
mov dword [0x694270], 0
test esi, esi
je 0x4a51eb
mov ecx, esi
call fcn.00481f80
mov eax, dword [0x694270]
test eax, eax
je 0x4a51e2
dec dword [eax + 0xb0]
push esi
call fcn.005b1e4a
add esp, 4
call fcn.00450320
push dword [0x694298]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esp + 0x114]
push dword [esp + 0x12c]
call dword [sym.imp.USER32.dll_UnregisterClassW]
lea ecx, [esp + 0x60]
call fcn.0040a850
lea ecx, [esp + 0x150]
call fcn.0040a850
lea ecx, [esp + 0xa0]
call fcn.0040a850
mov ecx, dword [esp + 0x30c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.005ab3d6
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040ad50
call fcn.005b209a
call fcn.005b209a
int3