Function at 0x4086e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x8c
cmp dword [ebp + 0xc], 4
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x80], edx
jg 0x40890a
mov dword [ebp - 0x84], eax
call fcn.0040f6d0
mov dword [esp], eax
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 8], edx
mov edx, str._d_r_n
mov dword [esp + 4], edx
call fcn.0040f9a0
mov edx, eax
xor eax, eax
call fcn.00403a20
mov dword [eax + 8], 0
mov edx, dword [ebp - 0x84]
mov dword [edx + edi*4], eax
mov edi, 1
jmp 0x4087a0
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040f720
mov esi, eax
call fcn.0040f6d0
mov dword [esp + 8], esi
mov esi, str.__lu_r_n
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040f9a0
mov edx, eax
xor eax, eax
call fcn.00403a20
mov dword [eax + 8], 0
mov edx, dword [ebp - 0x84]
mov dword [edx + edi*4], eax
mov edx, dword [ebp + 8]
inc edi
mov eax, dword [edx + ebx*4]
mov edx, dword [ebp - 0x84]
inc ebx
mov dword [edx + edi*4], eax
mov eax, dword [0x416338]
inc edi
mov dword [edx + edi*4], eax
inc edi
cmp ebx, dword [ebp + 0xc]
jge 0x4087e3
mov edx, dword [ebp + 8]
mov eax, dword [edx + ebx*4]
cmp byte [eax + 4], 0
jne 0x408992
cmp byte [eax + 5], 0
je 0x408746
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, 0x413a82
mov dword [esp + 8], eax
mov eax, 0x20
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call sub.cygwin1.dll_snprintf
jmp 0x408750
xor ebx, ebx
cmp ebx, edi
jge 0x408803
lea esi, [esi]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + ebx*4]
inc ebx
call fcn.00403b30
cmp ebx, edi
jl 0x4087f0
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call fcn.004012a0
nop
mov edx, dword [ebp - 0x7c]
mov dword [esp], edx
call fcn.00401310
test eax, eax
je 0x4088c8
lea esi, [esi]
lea edi, [edi]
mov esi, dword [eax + 8]
cmp dword [esi + 0x40], 3
je 0x408810
mov edx, dword [ebp - 0x80]
cmp dword [esi + 0x38], edx
je 0x40888d
cmp edx, 9
ja case.default.0x408846
jmp dword [edx*4 + 0x414120]
call fcn.0040f6d0
mov dword [esp], eax
mov edx, dword [ebp - 0x80]
mov ecx, str.select__d_r_n
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040f9a0
mov edx, eax
xor eax, eax
call fcn.00403a20
mov dword [eax + 8], 0
mov edx, eax
lea esi, [esi]
mov eax, esi
call fcn.00403c30
mov eax, dword [ebp - 0x80]
mov dword [esi + 0x38], eax
xor ebx, ebx
cmp ebx, edi
jge 0x408810
mov esi, esi
lea edi, [edi]
mov eax, dword [ebp - 0x84]
mov edx, dword [eax + ebx*4]
mov eax, esi
inc ebx
call fcn.00403c30
cmp ebx, edi
jl 0x4088a0
mov edx, dword [ebp - 0x7c]
mov dword [esp], edx
call fcn.00401310
test eax, eax
jne 0x408830
xor ebx, ebx
cmp ebx, edi
jge 0x4088e6
nop
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + ebx*4]
inc ebx
mov dword [esp], eax
call fcn.00405460
cmp ebx, edi
jl 0x4088d0
lea eax, [ebp - 0x58]
cmp eax, dword [ebp - 0x84]
je 0x4088ff
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call fcn.0040ffb0
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea eax, [edx + edx*2]
lea eax, [eax*4 + 4]
mov dword [esp], eax
call fcn.0040fee0
jmp 0x408701
mov edx, dword [0x4163a4]
jmp 0x408880
mov edx, dword [0x4163a0]
jmp 0x408880
mov edx, dword [0x41639c]
jmp 0x408880
mov edx, dword [0x416398]
jmp 0x408880
mov edx, dword [0x416394]
jmp 0x408880
mov edx, dword [0x416390]
jmp 0x408880
mov edx, dword [0x41638c]
jmp 0x408880
mov edx, dword [0x416388]
jmp 0x408880
mov edx, dword [0x416384]
jmp 0x408880
mov edx, dword [0x416380]
jmp 0x408880
mov eax, str.o__type__REDIS_STRING
call fcn.004039e0
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop
lea esi, [esi]