Function at 0x418aa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push 0x94
mov edi, ecx
call fcn.004d990e
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
test esi, esi
je 0x418ae5
test edi, edi
mov eax, str.bdnc.dll
cmovne eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 4], edi
mov dword [esi], edi
test edi, edi
jne 0x418aed
push esi
call fcn.004d0a23
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push str.bdnimbus_init
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov dword [esi + 4], eax
test eax, eax
push str.bdnimbus_uninit
push edi
sete bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [esi + 8], eax
lea ecx, [ebx + 1]
push str.bdnimbus_push_info
cmovne ecx, ebx
push edi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov dword [esi + 0xc], eax
test eax, eax
push str.bdnimbus_push_json
push edi
sete bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
test eax, eax
push str.bdnimbus_push_bin
lea esi, [ebx + 1]
push edi
cmovne esi, ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [ebp - 8]
lea edi, [esi + 1]
push str.bdnimbus_ask
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x14], eax
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_ask_json
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x18], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_ask_bin
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x1c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_ask_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x20], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_ask_json_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x24], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_ask_bin_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x28], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x2c], eax
lea edi, [esi + 1]
cmovne edi, esi
push str.bdnimbus_free_response
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x30], eax
lea esi, [edi + 1]
cmovne esi, edi
mov edi, dword [ebp - 4]
push str.bdnimbus_text
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x34], eax
lea ecx, [esi + 1]
cmovne ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_set_option
push edi
mov dword [ebp - 8], ecx
call esi
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x418c49
inc dword [ebp - 0xc]
push str.bdnimbus_set_optionv
push edi
call esi
mov dword [ebx + 0x3c], eax
test eax, eax
jne 0x418c5b
inc dword [ebp - 8]
push str.bdnimbus_get_option
push edi
call esi
mov ecx, dword [ebp - 8]
test eax, eax
push str.bdnimbus_dup_option
push edi
mov dword [ebx + 0x40], eax
lea esi, [ecx + 1]
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_free_option
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x44], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_file_upload
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x48], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_file_upload_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x4c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_mem_upload
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x50], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_mem_upload_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x54], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_gen_upload
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x58], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_gen_upload_async
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x8c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_alloc
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x90], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_free
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x5c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_object
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x60], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_path
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x64], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_foreach
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x68], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_array_at
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x6c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_array_size
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x70], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_string
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x74], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_long
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x78], eax
lea esi, [edi + 1]
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.bdnimbus_json_real
push dword [ebp - 4]
test eax, eax
mov dword [ebx + 0x7c], eax
lea edi, [esi + 1]
cmovne edi, esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x80], eax
lea esi, [edi + 1]
cmovne esi, edi
mov edi, dword [ebp - 4]
push str.bdnimbus_json_type_of
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [ebx + 0x84], eax
lea ecx, [esi + 1]
push str.connect_register
cmovne ecx, esi
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0xc], 0
mov dword [ebx + 0x88], eax
jne 0x418e8a
mov edx, dword [ebp - 8]
test eax, eax
lea ecx, [edx + 1]
cmovne ecx, edx
test ecx, ecx
jne 0x418e8a
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.004d0a23
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret