Function at 0x401b74
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00401abc
mov edi, str.BeholdRC.dll
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x419458], eax
test eax, eax
jne 0x401bc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 0
push edi
push str.LoadLibrary
mov edx, str.load_lib_dll
mov esi, eax
call fcn.00402867
push esi
push str.Load_DLL:_System_Error_Code_0x_X
jmp 0x401de5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4152b4
push eax
call esi
mov dword [0x419460], eax
test eax, eax
jne 0x401bea
push str.Reenumerate
jmp 0x401d39
push 0x4152d8
push dword [0x419458]
call esi
mov dword [0x41947c], eax
test eax, eax
jne 0x401c0a
push str.GetCardCount
jmp 0x401d39
push 0x415304
push dword [0x419458]
call esi
mov dword [0x419468], eax
test eax, eax
jne 0x401c2a
push str.GetCardName
jmp 0x401d39
push 0x415328
push dword [0x419458]
call esi
mov dword [0x419474], eax
test eax, eax
jne 0x401c4a
push str.GetDeviceNameW
jmp 0x401d39
push 0x415358
push dword [0x419458]
call esi
mov dword [0x419470], eax
test eax, eax
jne 0x401c6a
push str.GetDevicePathW
jmp 0x401d39
push 0x415388
push dword [0x419458]
call esi
mov dword [0x419484], eax
test eax, eax
jne 0x401c8a
push str.OpenCard
jmp 0x401d39
push 0x4153a8
push dword [0x419458]
call esi
mov dword [0x41945c], eax
test eax, eax
jne 0x401caa
push str.GetRemoteType
jmp 0x401d39
push 0x4153d4
push dword [0x419458]
call esi
mov dword [0x419480], eax
test eax, eax
jne 0x401cc7
push str.GetRemoteHasARPC
jmp 0x401d39
push 0x41540c
push dword [0x419458]
call esi
mov dword [0x41949c], eax
test eax, eax
jne 0x401ce4
push str.GetRemoteHasMultiDec
jmp 0x401d39
push 0x415450
push dword [0x419458]
call esi
mov dword [0x41948c], eax
test eax, eax
jne 0x401d01
push 0x415460
jmp 0x401d39
push 0x41547c
push dword [0x419458]
call esi
mov dword [0x419450], eax
test eax, eax
jne 0x401d1e
push 0x41548c
jmp 0x401d39
push 0x4154ac
push dword [0x419458]
call esi
mov dword [0x419490], eax
test eax, eax
jne 0x401d90
push str.UnInit
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov edx, str.load_lib_dll
lea eax, [ebp - 0x68]
push eax
push edi
push 0
call fcn.00402867
push esi
lea eax, [ebp - 0x68]
push eax
push str.Load_DLL:_Function__s__System_Error_Code_0x_X
lea eax, [ebp - 0x450]
push 0x1f4
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x24
lea ecx, [ebp - 0x450]
xor edx, edx
call fcn.00402574
call fcn.00401abc
jmp 0x401e07
xor edx, edx
mov dword [0x419478], 1
mov ecx, str.DLL_Load_OK
call fcn.00402574
push 0x104
lea eax, [ebp - 0x658]
push eax
push dword [0x419458]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x658]
call fcn.00402c47
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x658]
push edx
push eax
push str.DLL__s_Version__u._u._u._u
lea eax, [ebp - 0x450]
push 0x1f4
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x20
lea ecx, [ebp - 0x450]
xor edx, edx
call fcn.00402574
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403410
leave
ret