Function at 0x408750
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd84
push ebx
push esi
push edi
lea edi, [ebp + 8]
mov eax, 0x498330
call fcn.00488048
mov word [ebp - 0x44], 8
mov dword [ebp - 0x5c], 1
mov edx, dword [edi]
mov byte [edx], 0
push 0x2240
push 0
mov ecx, dword [edi]
add ecx, 0x100
push ecx
call fcn.00485af4
add esp, 0xc
push 0
lea eax, [ebp - 0x27c]
push eax
push str..DRV
call fcn.00488eb0
add esp, 0xc
test eax, eax
jne 0x408e42
push 0
lea edx, [ebp - 0x16c]
push edx
push 0
push 0
lea ecx, [ebp - 0x26c]
push ecx
call fcn.0048916c
add esp, 0x14
lea eax, [ebp - 0x16c]
push eax
call fcn.0048dbbc
pop ecx
movsx edx, byte [ebp - 0x16c]
cmp edx, 0x26
je 0x4087fc
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00485ca4
pop ecx
cmp eax, 5
jne 0x408922
movsx eax, byte [ebp - 0x16c]
cmp eax, 0x26
jne 0x40881e
lea edx, [ebp - 0x16c]
push edx
call fcn.00485ca4
pop ecx
cmp eax, 6
jne 0x408922
movsx ecx, byte [ebp - 0x16c]
cmp ecx, 0x26
je 0x408897
movsx eax, byte [ebp - 0x168]
cmp eax, 0x41
jl 0x408842
movsx ebx, byte [ebp - 0x168]
add ebx, 0xffffffc9
jmp 0x40888e
cmp byte [ebp - 0x168], 0x30
jb 0x408866
cmp byte [ebp - 0x168], 0x46
ja 0x408866
cmp byte [ebp - 0x168], 0x39
jbe 0x40886d
cmp byte [ebp - 0x168], 0x41
jae 0x40886d
mov ebx, 0xff
jmp 0x40888e
cmp byte [ebp - 0x168], 0x39
ja 0x408883
xor ebx, ebx
mov bl, byte [ebp - 0x168]
add ebx, 0xffffffd0
jmp 0x40888e
xor ebx, ebx
mov bl, byte [ebp - 0x168]
add ebx, 0xffffffc9
mov byte [ebp - 0x168], 0
jmp 0x4088f7
cmp byte [ebp - 0x167], 0x30
jb 0x4088bb
cmp byte [ebp - 0x167], 0x46
ja 0x4088bb
cmp byte [ebp - 0x167], 0x39
jbe 0x4088c2
cmp byte [ebp - 0x167], 0x41
jae 0x4088c2
mov ebx, 0xff
jmp 0x4088e3
cmp byte [ebp - 0x167], 0x39
ja 0x4088d8
xor ebx, ebx
mov bl, byte [ebp - 0x167]
add ebx, 0xffffffd0
jmp 0x4088e3
xor ebx, ebx
mov bl, byte [ebp - 0x167]
add ebx, 0xffffffc9
push 0x49839a
lea eax, [ebp - 0x16c]
push eax
call fcn.00485c74
add esp, 8
cmp ebx, 0xff
je 0x408922
cmp ebx, 0x20
jge 0x408922
lea edx, [ebp - 0x16c]
push edx
imul ecx, ebx, 0x112
add ecx, dword [edi]
add ecx, 0x102
push ecx
call fcn.00485c74
add esp, 8
lea eax, [ebp - 0x27c]
push eax
call fcn.00488f70
pop ecx
test eax, eax
je 0x4087b1
xor ebx, ebx
imul eax, ebx, 0x89
mov edx, dword [edi]
cmp byte [edx + eax*2 + 0x102], 0
je 0x408e33
imul ecx, ebx, 0x89
mov eax, dword [edi]
cmp word [eax + ecx*2 + 0x100], 0
jne 0x408e33
push str.R32.DLL
lea edx, [ebp - 0x68]
push edx
call fcn.00485c74
add esp, 8
mov word [ebp - 0x44], 0x14
lea ecx, [ebp - 0x10]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x38], 4
mov dword [ebp - 0x10], 0x498434
push 0x1fba
lea eax, [ebp - 0x10]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x10]
add dword [ebp - 0x38], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push dword [edi]
call fcn.00485c74
add esp, 8
sub dword [ebp - 0x38], 5
add dword [ebp - 0x38], 5
sub dword [ebp - 0x38], 4
push 0
lea ecx, [ebp - 0x10]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
push 0x4afc64
lea eax, [ebp - 0x16c]
push eax
call fcn.00485c74
add esp, 8
push 0x4983aa
imul edx, ebx, 0x112
add edx, dword [edi]
add edx, 0x102
push edx
call fcn.00485c28
add esp, 8
test eax, eax
je 0x408a64
imul ecx, ebx, 0x112
add ecx, dword [edi]
add ecx, 0x102
push ecx
push dword [edi]
call fcn.00485b98
add esp, 8
lea eax, [ebp - 0x68]
push eax
push dword [edi]
call fcn.00485b98
add esp, 8
imul edx, ebx, 0x112
add edx, dword [edi]
add edx, 0x102
push edx
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00485b98
add esp, 8
lea eax, [ebp - 0x68]
push eax
lea edx, [ebp - 0x16c]
push edx
call fcn.00485b98
add esp, 8
jmp 0x408a87
push 0x4983b2
push dword [edi]
call fcn.00485b98
add esp, 8
push str.GENERES.DLL
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00485b98
add esp, 8
lea eax, [ebp - 0x16c]
push eax
call sub.KERNEL32.dll_LoadLibraryA
imul edx, ebx, 0x89
mov ecx, dword [edi]
mov dword [ecx + edx*2 + 0x206], eax
imul eax, ebx, 0x89
mov edx, dword [edi]
cmp dword [edx + eax*2 + 0x206], 0
je 0x408e42
mov word [ebp - 0x44], 0x20
lea ecx, [ebp - 0x20]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x38], 4
mov dword [ebp - 0x20], 0x498434
push 0x1fba
lea eax, [ebp - 0x20]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x20]
add dword [ebp - 0x38], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push dword [edi]
call fcn.00485c74
add esp, 8
sub dword [ebp - 0x38], 5
add dword [ebp - 0x38], 5
sub dword [ebp - 0x38], 4
push 0
lea ecx, [ebp - 0x20]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
imul eax, ebx, 0x112
add eax, dword [edi]
add eax, 0x102
push eax
push dword [edi]
call fcn.00485b98
add esp, 8
push 0x4983ca
push dword [edi]
call fcn.00485b98
add esp, 8
push 0x4afc64
lea edx, [ebp - 0x16c]
push edx
call fcn.00485c74
add esp, 8
imul ecx, ebx, 0x112
add ecx, dword [edi]
add ecx, 0x102
push ecx
lea eax, [ebp - 0x16c]
push eax
call fcn.00485b98
add esp, 8
cmp dword [ebp - 0x5c], 0
je 0x408baa
push str.GENERIC
imul edx, ebx, 0x112
add edx, dword [edi]
add edx, 0x102
push edx
call fcn.00485c28
add esp, 8
test eax, eax
je 0x408baa
push 0x4983d7
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00485b98
add esp, 8
push str..DLL
lea eax, [ebp - 0x16c]
push eax
call fcn.00485b98
add esp, 8
lea edx, [ebp - 0x16c]
push edx
call sub.KERNEL32.dll_LoadLibraryA
imul ecx, ebx, 0x89
mov edx, dword [edi]
mov dword [edx + ecx*2 + 0x202], eax
imul eax, ebx, 0x89
mov ecx, dword [edi]
cmp dword [ecx + eax*2 + 0x202], 0
je 0x408e42
push str._PCONFDYN
imul eax, ebx, 0x89
mov edx, dword [edi]
push dword [edx + eax*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x408c15
push dword [0x4b98e0]
call eax
pop ecx
push str._PPXREF
imul ecx, ebx, 0x89
mov eax, dword [edi]
push dword [eax + ecx*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x408c3a
push 0x4ba064
call eax
pop ecx
push str._INITDRIVER
imul edx, ebx, 0x89
mov ecx, dword [edi]
push dword [ecx + edx*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
test esi, esi
je 0x408e42
push str._INITMODULE
imul eax, ebx, 0x89
mov edx, dword [edi]
push dword [edx + eax*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x408e42
push str._ACCESDRIVER
imul ecx, ebx, 0x89
mov eax, dword [edi]
push dword [eax + ecx*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
imul edx, ebx, 0x89
mov ecx, dword [edi]
mov dword [ecx + edx*2 + 0x20a], eax
imul eax, ebx, 0x89
mov edx, dword [edi]
cmp dword [edx + eax*2 + 0x20a], 0
je 0x408e42
push str._EXITDRIVER
imul ecx, ebx, 0x89
mov eax, dword [edi]
push dword [eax + ecx*2 + 0x202]
call sub.KERNEL32.dll_GetProcAddress
imul edx, ebx, 0x89
mov ecx, dword [edi]
mov dword [ecx + edx*2 + 0x20e], eax
imul eax, ebx, 0x89
mov edx, dword [edi]
cmp dword [edx + eax*2 + 0x20e], 0
je 0x408e42
movzx ecx, word [0x4b8384]
push ecx
imul eax, ebx, 0x89
mov edx, dword [edi]
push dword [edx + eax*2 + 0x206]
call dword [ebp - 0x58]
add esp, 8
test eax, eax
jne 0x408d93
push 0x498422
push dword [edi]
call fcn.00485b98
add esp, 8
mov word [ebp - 0x44], 0x2c
lea ecx, [ebp - 0x30]
push ecx
call sym.runtime.exe__OResStr__bctr_qv
pop ecx
add dword [ebp - 0x38], 4
mov dword [ebp - 0x30], 0x498434
push 0x1fc2
lea eax, [ebp - 0x30]
push eax
call sym.runtime.exe__OResStr_set_qi
add esp, 8
lea edx, [ebp - 0x30]
add dword [ebp - 0x38], 5
push edx
call sym.runtime.exe__OStr__opc_xqv
pop ecx
push eax
push dword [edi]
call fcn.00485b98
add esp, 8
sub dword [ebp - 0x38], 5
add dword [ebp - 0x38], 5
sub dword [ebp - 0x38], 4
push 0
lea ecx, [ebp - 0x30]
push ecx
call sym.runtime.exe__OResStr__bdtr_qv
add esp, 8
jmp 0x408e42
call esi
mov esi, eax
test esi, esi
je 0x408dba
push 0x498425
push dword [edi]
call fcn.00485b98
add esp, 8
push esi
push dword [edi]
call fcn.00485b98
add esp, 8
jmp 0x408e42
imul eax, ebx, 0x89
mov edx, dword [edi]
mov word [edx + eax*2 + 0x100], 1
lea esi, [ebx + 1]
cmp esi, 0x20
jge 0x408e33
imul eax, esi, 0x112
add eax, dword [edi]
add eax, 0x102
push eax
imul edx, ebx, 0x112
add edx, dword [edi]
add edx, 0x102
push edx
call fcn.00485c28
add esp, 8
test eax, eax
jne 0x408e2d
imul ecx, ebx, 0x89
mov eax, dword [edi]
mov edx, dword [eax + ecx*2 + 0x20a]
imul ecx, esi, 0x89
mov eax, dword [edi]
mov dword [eax + ecx*2 + 0x20a], edx
imul edx, esi, 0x89
mov ecx, dword [edi]
mov word [ecx + edx*2 + 0x100], 1
inc esi
cmp esi, 0x20
jl 0x408dd4
inc ebx
cmp ebx, 0x20
jl 0x408939
mov eax, dword [edi]
mov byte [eax], 0
mov edx, dword [ebp - 0x54]
mov dword fs:[0], edx
mov eax, dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret