Function at 0x42f5f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4e81bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
je 0x42f61b
xor eax, eax
jmp 0x42f986
mov cx, word [0x4cf4d4]
mov word [ebp - 0x108], cx
push 0x102
push 0
lea edx, [ebp - 0x106]
push edx
call fcn.0049b140
add esp, 0xc
push 0x4cf4d8
push 0x4eef50
push 0x4cf4ec
lea eax, [ebp - 0x108]
push eax
call fcn.0042fc60
add esp, 0x10
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x10c]
mov dword [edx], eax
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x42f73c
push 0x5c
push 0x4cf514
call fcn.0049a360
add esp, 8
test eax, eax
je 0x42f6ae
push 0x5c
push 0x4cf528
call fcn.0049a360
add esp, 8
add eax, 1
mov dword [ebp - 0x124], eax
jmp 0x42f6b8
mov dword [ebp - 0x124], 0x4cf53c
push 0x4cf4f4
push 0xe
mov ecx, dword [ebp - 0x124]
push ecx
push 4
call fcn.00479d00
add esp, 0x10
mov dword [ebp - 0x11c], 0x4cf550
mov edx, dword [ebp + 8]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x11c]
mov dl, byte [ecx]
mov byte [ebp - 0x10d], dl
mov eax, dword [ebp - 0x114]
mov cl, byte [ebp - 0x10d]
mov byte [eax], cl
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
cmp byte [ebp - 0x10d], 0
jne 0x42f6ef
mov eax, 0xfffffffb
jmp 0x42f986
push str.iGetDevUID
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 4], eax
push str.iGetBankNum
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 8], eax
push str.iReadCardBas
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
push str.iReadCard
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x10], eax
push str.iWriteCard
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x14], eax
push str.iWriteJXTN
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x18], eax
push str.iJXTReadCardBas
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x1c], eax
push str.iJXTReadCard
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x20], eax
push str.iJXTWriteCard
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10c]
cmp dword [edx + 4], 0
je 0x42f8b1
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 8], 0
je 0x42f8b1
mov ecx, dword [ebp - 0x10c]
cmp dword [ecx + 0xc], 0
je 0x42f8b1
mov edx, dword [ebp - 0x10c]
cmp dword [edx + 0x10], 0
je 0x42f8b1
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 0x14], 0
je 0x42f8b1
mov ecx, dword [ebp - 0x10c]
cmp dword [ecx + 0x18], 0
je 0x42f8b1
mov edx, dword [ebp - 0x10c]
cmp dword [edx + 0x1c], 0
je 0x42f8b1
mov eax, dword [ebp - 0x10c]
cmp dword [eax + 0x20], 0
je 0x42f8b1
mov ecx, dword [ebp - 0x10c]
cmp dword [ecx + 0x24], 0
jne 0x42f984
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx], 0
push 0x5c
push 0x4cf604
call fcn.0049a360
add esp, 8
test eax, eax
je 0x42f8f9
push 0x5c
push 0x4cf618
call fcn.0049a360
add esp, 8
add eax, 1
mov dword [ebp - 0x128], eax
jmp 0x42f903
mov dword [ebp - 0x128], str.SSCardDriver.cpp
push 0x4cf5dc
push 0x21
mov edx, dword [ebp - 0x128]
push edx
push 4
call fcn.00479d00
add esp, 0x10
mov dword [ebp - 0x120], 0x4cf640
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x120]
mov al, byte [edx]
mov byte [ebp - 0x10e], al
mov ecx, dword [ebp - 0x118]
mov dl, byte [ebp - 0x10e]
mov byte [ecx], dl
mov eax, dword [ebp - 0x120]
add eax, 1
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
cmp byte [ebp - 0x10e], 0
jne 0x42f93a
mov eax, 0xffffff91
jmp 0x42f986
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482147
mov esp, ebp
pop ebp
ret 4