Function at 0x10024b7
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1004008]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x50], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
cmp dword [ebp + 8], 1
jne 0x10024f9
call fcn.01001532
push eax
call dword [sym.imp.msvcrt.dll_exit]
dec dword [ebp + 8]
push 4
pop ebx
add esi, ebx
mov dword [section..data], edi
mov edx, dword [esi]
cmp edx, edi
je 0x10024ed
mov al, byte [edx]
cmp al, 0x2d
je 0x1002531
cmp al, 0x2f
je 0x1002531
push edx
call fcn.010014b7
test al, al
je 0x10024ed
push edx
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
mov dword [ebp - 0x50], eax
jmp 0x1002621
inc edx
cmp byte [edx], 0
je 0x10024ed
mov cl, byte [edx]
inc edx
test cl, cl
je 0x1002621
movsx eax, cl
cmp eax, 0x61
jg 0x100258b
je 0x10025d2
sub eax, 0x41
je 0x10025d2
sub eax, 0xd
je 0x10025b4
sub eax, ebx
je 0x100256d
dec eax
jne 0x10024ed
mov dword [section..data], 0x40
jmp 0x1002537
cmp byte [edx], 0x52
jne 0x100257f
inc edx
mov dword [section..data], 0x800
jmp 0x1002537
mov dword [section..data], 0x1000
jmp 0x1002537
sub eax, 0x63
je 0x10025c3
sub eax, 0xb
je 0x10025b4
sub eax, ebx
je 0x10025ac
dec eax
jne 0x10024ed
mov dword [section..data], 0x10
jmp 0x1002537
mov dword [section..data], ebx
jmp 0x1002537
mov dword [section..data], 0x200
jmp 0x1002537
mov dword [section..data], 8
jmp 0x1002537
mov dword [section..data], 1
cmp cl, 0x41
jne 0x10025eb
mov dword [section..data], 2
dec dword [ebp + 8]
mov byte [ebp - 0x4c], 0
je 0x10024ed
add esi, ebx
mov eax, dword [esi]
cmp eax, edi
je 0x10024ed
cmp byte [eax], 0
je 0x10024ed
push eax
push 0x32
lea eax, [ebp - 0x4c]
push eax
call fcn.0100168e
test eax, eax
jl 0x10024ed
dec dword [ebp + 8]
add esi, ebx
mov edx, dword [esi]
cmp edx, edi
jne 0x100250d
cmp dword [section..data], edi
je 0x10024ed
call fcn.01001f4f
mov ebx, eax
cmp ebx, edi
jge 0x100265c
push 0x2710
push 2
call fcn.01002ee9
pop ecx
pop ecx
push 1
jmp 0x10024f3
cmp dword [0x10042ec], edi
jne 0x100266b
push 0x2713
jmp 0x100264c
mov edi, 0x1804
and dword [ebp - 0x54], 0
cmp dword [0x10042ec], 0
jbe 0x10027a0
mov dword [ebp - 0x58], 0x1004640
push dword [ebp - 0x54]
call fcn.0100159b
mov esi, eax
push 0x100eb8c
push esi
call fcn.010017c5
push dword [0x100eb8c]
call sub.WSOCK32.dll_ntohl
mov dword [ebp - 0x5c], eax
mov eax, dword [section..data]
test edi, eax
jne 0x10026f8
push dword [ebp - 0x58]
call fcn.010013d3
push eax
push 0x10012b4
call fcn.0100176d
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.ntdll.dll_RtlIpv4AddressToStringA]
test eax, eax
je 0x10026f3
push 0x100eba0
lea eax, [ebp - 0x18]
push eax
push 0x2716
push 1
call fcn.01002ee9
add esp, 0x10
mov eax, dword [section..data]
cmp eax, 0x40
jg 0x100273b
je 0x1002717
test eax, eax
jle 0x1002750
cmp eax, 2
jle 0x1002728
cmp eax, 4
je 0x1002720
cmp eax, 8
je 0x100276b
cmp eax, 0x10
jne 0x1002750
push eax
push esi
call fcn.010022a6
jmp 0x1002772
push esi
call fcn.01001dd4
jmp 0x1002772
cmp byte [ebp - 0x4c], 0
je 0x1002750
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.01001a16
jmp 0x1002772
cmp eax, 0x200
je 0x100276b
cmp eax, 0x800
je 0x1002763
cmp eax, 0x1000
je 0x100275b
call fcn.01001532
or dword [ebp - 0x50], 0xffffffff
jmp 0x1002774
push esi
call fcn.01001d25
jmp 0x1002772
push esi
call fcn.01001d69
jmp 0x1002772
push eax
push esi
call fcn.01001888
mov ebx, eax
push esi
call dword [sym.imp.ntdll.dll_NtClose]
test dword [section..data], edi
je 0x1002787
test ebx, ebx
jge 0x10027a0
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x58], 0x28b
cmp eax, dword [0x10042ec]
jb 0x1002688
cmp dword [ebp - 0x50], 0
jle 0x10027bb
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002670
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.01002a74
leave
ret