Function at 0x10001410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_assignment]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000145c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_err2str]
add esp, 4
push eax
push str.No_current_assignment_to_rewind:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0xc
jmp 0x100015f2
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1000148f
push str.No_current_assignment_to_rewind_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_topic_partition_list_destroy]
add esp, 4
jmp 0x100015f2
push 0x2710
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_committed]
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001513
push 0x100086f8
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_err2str]
add esp, 4
push eax
push str.Failed_to_acquire_committed_offsets:__s
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0xc
push 0x10008730
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
jne 0x100014ae
mov dword [ebp - 0xc], 0
jmp 0x10001525
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx]
jge 0x10001576
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax + 0xc], 0
jg 0x10001574
jl 0x1000155b
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp dword [eax + edx + 8], 0
jae 0x10001574
imul ecx, dword [ebp - 0xc], 0x28
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
or edx, 0xffffffff
mov dword [eax + ecx + 8], 0xfffffffe
mov dword [eax + ecx + 0xc], edx
jmp 0x1000151c
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_seek_partitions]
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100015e5
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_string]
add esp, 4
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_error_name]
add esp, 4
push eax
push str.Failed_to_seek
push 0x10008744
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_destroy]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
jne 0x10001592
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_topic_partition_list_destroy]
add esp, 4
mov esp, ebp
pop ebp
ret