Function at 0x4c6990
Capabilities:
Terminate process

Disassembly:
sub esp, 0x30
xor eax, eax
mov dword [esp + 8], 0
push ebx
push ebp
mov dword [esp + 0x20], eax
xor ebx, ebx
mov dword [esp + 0x24], eax
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
push esi
push edi
mov esi, edx
mov dword [esp + 0x14], ebp
mov edx, dword [esp + 0x4c]
mov dword [eax], ebx
mov eax, dword [esp + 0x48]
push 1
push 0x627d88
push ecx
mov dword [eax], ebx
mov dword [edx], ebx
mov edx, esi
push 0x627d8c
call fcn.004b44f0
push 1
push 0x627d90
push esi
xor edx, edx
mov dword [esp + 0x58], eax
mov ecx, eax
call fcn.004b0c00
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x30], ecx
mov edi, dword [ecx]
mov dword [esp + 0x24], edi
test edi, edi
je 0x4c6de4
nop dword [eax]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4c6dcf
mov eax, dword [edi]
mov byte [ecx + eax], 0
mov ecx, 0x627d94
mov esi, dword [edi]
mov eax, esi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c6a50
test dl, dl
je 0x4c6a4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c6a50
add eax, 2
add ecx, 2
test dl, dl
jne 0x4c6a30
xor eax, eax
jmp 0x4c6a55
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4c6a60
or dword [esp + 0x2c], 2
jmp 0x4c6aca
mov ecx, str.asetup:active
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4c6a87
test dl, dl
je 0x4c6a83
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4c6a87
add eax, 2
add ecx, 2
test dl, dl
jne 0x4c6a67
xor eax, eax
jmp 0x4c6a8c
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c6ac0
mov eax, str.asetup:actpass
mov ecx, esi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4c6ab7
test dl, dl
je 0x4c6ab3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4c6ab7
add ecx, 2
add eax, 2
test dl, dl
jne 0x4c6a97
xor eax, eax
jmp 0x4c6abc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4c6aca
mov eax, dword [esp + 0x44]
mov dword [eax], 1
cmp dword [edi + 4], 0xc
jle 0x4c6b0d
push 0xc
push str.aice_ufrag:
push esi
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x4c6b0d
mov eax, dword [esp + 0x48]
mov ecx, dword [edi]
add ecx, 0xc
mov dword [eax], ecx
mov eax, dword [edi + 4]
sub eax, 0xc
test ecx, ecx
jne 0x4c6aff
mov dword [esp + 0x1c], ecx
jmp 0x4c6b0d
push eax
push ecx
call fcn.0058d536
add esp, 8
mov dword [esp + 0x1c], eax
cmp dword [edi + 4], 0xa
jle 0x4c6b51
push 0xa
push str.aice_pwd:
push dword [edi]
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x4c6b51
mov eax, dword [esp + 0x4c]
mov ecx, dword [edi]
add ecx, 0xa
mov dword [eax], ecx
mov eax, dword [edi + 4]
sub eax, 0xa
test ecx, ecx
jne 0x4c6b43
mov dword [esp + 0x20], ecx
jmp 0x4c6b51
push eax
push ecx
call fcn.0058d536
add esp, 8
mov dword [esp + 0x20], eax
cmp dword [edi + 4], 0x16
jle 0x4c6bda
push 0x16
push str.afingerprint:sha_256
push dword [edi]
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x4c6bda
mov edx, dword [edi + 4]
push eax
push 0x62b14b
push ecx
mov ecx, dword [edi]
sub edx, 0x16
push 0x627df8
add ecx, 0x16
call fcn.004b44f0
mov ecx, dword [edi + 4]
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
sub ecx, 0x16
test esi, esi
je 0x4c6ba9
push ecx
push esi
call fcn.0058d536
add esp, 8
cdq
xor ebx, ebx
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4c6bda
mov edi, dword [esp + 0x18]
mov ebp, eax
nop
mov ecx, esi
call fcn.004ad300
mov byte [ebx + edi], al
add esi, 2
inc ebx
cmp ebx, ebp
jl 0x4c6bc0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
cmp dword [edi + 4], 0xc
jle 0x4c6dcf
push 0xc
push str.acandidate:
push dword [edi]
call fcn.0058c240
add esp, 0xc
test eax, eax
jne 0x4c6dcf
mov ecx, dword [edi]
xor edx, edx
push 1
push 0x627e0c
push dword [edi + 4]
call fcn.004b0c00
mov esi, eax
add esp, 0xc
mov dword [esp + 0x38], esi
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
cmp dword [eax + 4], 1
jne 0x4c6da6
mov ecx, dword [eax]
cmp byte [ecx], 0x31
jne 0x4c6da6
mov eax, dword [eax + 8]
cmp dword [eax + 4], 3
jne 0x4c6da6
push 3
push 0x627e10
push dword [eax]
call fcn.00593426
add esp, 0xc
test eax, eax
jne 0x4c6da6
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
mov byte [ecx + eax], 0
call fcn.0058d50c
movzx eax, ax
add esp, 4
mov dword [esp + 0x34], eax
xor edx, edx
mov eax, dword [esi]
push 1
push 0x627e14
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 8]
push dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.004b0c00
add esp, 0xc
mov dword [esp + 0x24], eax
cmp dword [eax + 8], 4
jne 0x4c6d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov byte [edx + ecx], 0
mov ecx, dword [eax]
push dword [ecx]
call fcn.0058d50c
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [ecx], al
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov byte [ecx + eax], 0
mov eax, dword [edx]
mov eax, dword [eax + 8]
push dword [eax]
call fcn.0058d50c
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [ecx + 1], al
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov byte [ecx + eax], 0
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push dword [eax]
call fcn.0058d50c
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x24]
mov byte [ecx + 2], al
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov byte [ecx + eax], 0
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push dword [eax]
call fcn.0058d50c
mov ecx, dword [esp + 0x18]
add esp, 4
push dword [esp + 0x34]
mov byte [ecx + 3], al
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x14]
push 8
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
call fcn.0058db11
add esp, 4
test eax, eax
je 0x4c701a
mov ecx, dword [esp + 0x14]
inc dword [esp + 0x28]
mov dword [eax + 4], ebp
mov ebp, eax
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ebp
mov ecx, eax
call fcn.004b0e30
mov eax, dword [esi]
test eax, eax
je 0x4c6dc6
nop dword [eax]
mov esi, dword [eax + 8]
push eax
call fcn.0058c812
add esp, 4
mov eax, esi
test esi, esi
jne 0x4c6db0
mov esi, dword [esp + 0x38]
push esi
call fcn.0058c812
add esp, 4
mov eax, dword [edi + 8]
mov edi, eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4c6a10
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x18]
cmp dword [eax], 0
je 0x4c6fc2
mov eax, dword [esp + 0x4c]
cmp dword [eax], 0
je 0x4c6fc2
test edi, edi
je 0x4c6fc2
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
push 0
push 4
lea eax, [eax + eax*2]
lea esi, [esi + eax*2]
add esi, 0xa
add esi, dword [esp + 0x28]
add esi, ebx
mov dword [esp + 0x2c], esi
lea eax, [esi + 0x24]
push eax
call fcn.0058db11
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.004aec40
add esp, 8
mov dword [esp + 0x44], eax
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x2c]
mov word [ecx], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x44]
lea edx, [esi - 7]
mov dword [ecx + 2], eax
mov eax, dword [esp + 0x1c]
mov byte [ecx + 6], al
add ecx, 7
push eax
mov eax, dword [esp + 0x4c]
push dword [eax]
call fcn.00401000
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
push ecx
mov byte [esi + eax + 7], cl
add esi, 8
push dword [edx]
mov edx, dword [esp + 0x34]
sub edx, esi
lea ecx, [esi + eax]
call fcn.00401000
mov eax, dword [esp + 0x54]
add esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ebx
push edi
mov byte [esi + eax], bl
inc esi
sub edx, esi
lea ecx, [esi + eax]
call fcn.00401000
mov eax, dword [esp + 0x40]
add esi, ebx
mov ebx, dword [esp + 0x5c]
add esp, 0x18
mov byte [esi + ebx], al
inc esi
mov dword [esp + 0x48], esi
lea edi, [esi + ebx]
nop word [eax + eax]
test ebp, ebp
je 0x4c6f95
mov esi, dword [ebp]
test esi, esi
je 0x4c6f95
push ebp
mov ebp, dword [ebp + 4]
call fcn.0058c812
mov ebx, dword [esp + 0x28]
add esp, 4
sub ebx, dword [esp + 0x48]
test edi, edi
jne 0x4c6f27
call fcn.0058c5c1
mov dword [eax], 0x16
call fcn.0058c19e
add dword [esp + 0x48], 6
mov edi, 6
jmp 0x4c6ee0
test esi, esi
je 0x4c6f46
cmp ebx, 6
jb 0x4c6f46
mov eax, dword [esi]
add dword [esp + 0x48], 6
mov dword [edi], eax
mov ax, word [esi + 4]
mov word [edi + 4], ax
add edi, 6
jmp 0x4c6ee0
push ebx
push 0
push edi
call fcn.00587250
add esp, 0xc
test esi, esi
jne 0x4c6f73
call fcn.0058c5c1
mov dword [eax], 0x16
call fcn.0058c19e
add dword [esp + 0x48], 6
add edi, 6
jmp 0x4c6ee0
cmp ebx, 6
jae 0x4c6f88
call fcn.0058c5c1
mov dword [eax], 0x22
call fcn.0058c19e
add dword [esp + 0x48], 6
add edi, 6
jmp 0x4c6ee0
mov ecx, dword [esp + 0x30]
call fcn.004b0e30
push dword [esp + 0x3c]
call fcn.0058c812
add esp, 4
push dword [esp + 0x18]
call fcn.0058c812
mov eax, dword [esp + 0x48]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [ecx]
test eax, eax
je 0x4c6fe6
nop dword [eax + eax]
mov esi, dword [eax + 8]
push eax
call fcn.0058c812
add esp, 4
mov eax, esi
test esi, esi
jne 0x4c6fd0
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0058c812
add esp, 4
test edi, edi
je 0x4c7000
push edi
call fcn.0058c812
add esp, 4
nop dword [eax]
test ebp, ebp
je 0x4c7010
cmp dword [ebp], 0
je 0x4c7010
push ebp
mov ebp, dword [ebp + 4]
jmp 0x4c6ff4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0xf47
mov edx, 0x6245fc
xor ecx, ecx
call fcn.004b4f80
add esp, 0xc
push 0xf47
push 0x624618
push 0x624634
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.005885bd
int3