Function at 0x4e9888
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
cmp dword [0x50b470], 0
jne 0x4ea9e9
test ebx, ebx
je 0x4ea161
push ebx
push 0xa
mov ecx, dword [0x50e7fc]
mov dl, 1
mov eax, dword [0x420790]
call fcn.004257e0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ea15a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00424de0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov dword [0x50b474], eax
mov eax, dword [0x50b474]
push eax
call fcn.00407748
pop ecx
mov dword [0x512394], eax
mov edx, dword [0x512394]
mov ecx, dword [0x50b474]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
push ebp
push 0x4ea133
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50b474]
xor edx, edx
push edx
push eax
mov cl, 1
mov dl, 0x11
mov eax, dword [0x512394]
call fcn.004e9108
mov dword [0x50b478], eax
cmp dword [0x50b478], 0
je 0x4ea129
mov edx, 0x4eaf24
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512200], eax
mov edx, 0x4eaf34
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512204], eax
mov edx, 0x4eaf44
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512208], eax
mov edx, 0x4eaf58
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51220c], eax
mov edx, 0x4eaf6c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512210], eax
mov edx, 0x4eaf7c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512214], eax
mov edx, 0x4eaf90
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512218], eax
mov edx, 0x4eafa4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51221c], eax
mov edx, 0x4eafb0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512220], eax
mov edx, 0x4eafc0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512224], eax
mov edx, 0x4eafd0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512228], eax
mov edx, 0x4eafdc
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51222c], eax
mov edx, 0x4eaff4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512230], eax
mov edx, 0x4eb004
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512234], eax
mov edx, 0x4eb010
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512238], eax
mov edx, 0x4eb01c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51223c], eax
mov edx, 0x4eb028
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512240], eax
mov edx, 0x4eb034
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512244], eax
mov edx, 0x4eb040
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512248], eax
mov edx, 0x4eb050
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51224c], eax
mov edx, 0x4eb060
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512250], eax
mov edx, 0x4eb070
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512254], eax
mov edx, 0x4eb080
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512258], eax
mov edx, 0x4eb094
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51225c], eax
mov edx, 0x4eb0a8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512260], eax
mov edx, 0x4eb0bc
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512264], eax
mov edx, 0x4eb0d0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512268], eax
mov edx, 0x4eb0e4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51226c], eax
mov edx, 0x4eb0f4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512270], eax
mov edx, 0x4eb10c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512274], eax
mov edx, 0x4eb124
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512278], eax
mov edx, 0x4eb134
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51227c], eax
mov edx, 0x4eb144
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512280], eax
mov edx, 0x4eb154
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512284], eax
mov edx, 0x4eb168
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512288], eax
mov edx, 0x4eb178
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51228c], eax
mov edx, 0x4eb18c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512290], eax
mov edx, 0x4eb1a0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512294], eax
mov edx, 0x4eb1b4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512298], eax
mov edx, 0x4eb1c8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51229c], eax
mov edx, 0x4eb1e0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122a0], eax
mov edx, 0x4eb1f8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122a4], eax
mov edx, 0x4eb208
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122a8], eax
mov edx, 0x4eb21c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122ac], eax
mov edx, 0x4eb234
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122b0], eax
mov edx, 0x4eb24c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122b4], eax
mov edx, 0x4eb268
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122b8], eax
mov edx, 0x4eb278
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122bc], eax
mov edx, 0x4eb294
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122c0], eax
mov edx, 0x4eb2a8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122c4], eax
mov edx, 0x4eb2c0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122c8], eax
mov edx, 0x4eb2dc
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122cc], eax
mov edx, 0x4eb2ec
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122d0], eax
mov edx, 0x4eb304
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122d4], eax
mov edx, 0x4eb31c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122d8], eax
mov edx, 0x4eb32c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122dc], eax
mov edx, 0x4eb340
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122e0], eax
mov edx, 0x4eb358
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122e4], eax
mov edx, 0x4eb36c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122e8], eax
mov edx, 0x4eb380
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122ec], eax
mov edx, 0x4eb394
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122f0], eax
mov edx, 0x4eb3b0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122f4], eax
mov edx, 0x4eb3cc
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122f8], eax
mov edx, 0x4eb3e4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x5122fc], eax
mov edx, 0x4eb3fc
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512300], eax
mov edx, 0x4eb414
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512304], eax
mov edx, 0x4eb428
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512308], eax
mov edx, 0x4eb43c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51230c], eax
mov edx, 0x4eb450
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512310], eax
mov edx, 0x4eb464
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512314], eax
mov edx, 0x4eb478
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512318], eax
mov edx, 0x4eb48c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51231c], eax
mov edx, 0x4eb4a0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512320], eax
mov edx, 0x4eb4b4
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512324], eax
mov edx, 0x4eb4d0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512328], eax
mov edx, 0x4eb4ec
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51232c], eax
mov edx, 0x4eb508
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512330], eax
mov edx, 0x4eb524
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512334], eax
mov edx, 0x4eb540
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512338], eax
mov edx, 0x4eb558
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51233c], eax
mov edx, 0x4eb574
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512340], eax
mov edx, 0x4eb590
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512344], eax
mov edx, 0x4eb5ac
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512348], eax
mov edx, 0x4eb5c8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51234c], eax
mov edx, 0x4eb5e0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512350], eax
mov edx, 0x4eb5f8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512354], eax
mov edx, 0x4eb610
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512358], eax
mov edx, 0x4eb628
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51235c], eax
mov edx, 0x4eb640
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512360], eax
mov edx, 0x4eb654
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512364], eax
mov edx, 0x4eb668
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512368], eax
mov edx, 0x4eb680
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51236c], eax
mov edx, 0x4eb694
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512370], eax
mov edx, 0x4eb6ac
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512374], eax
mov edx, 0x4eb6c0
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512378], eax
mov edx, 0x4eb6d8
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51237c], eax
mov edx, 0x4eb6ec
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512380], eax
mov edx, 0x4eb704
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512384], eax
mov edx, 0x4eb71c
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512388], eax
mov edx, 0x4eb734
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x51238c], eax
mov edx, 0x4eb744
mov eax, dword [0x50b478]
call fcn.004e94f4
mov dword [0x512390], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ea144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea161
mov eax, dword [ebp - 8]
call fcn.004048ec
ret
cmp dword [0x50b478], 0
jne 0x4ea9e9
push 0x8001
call sub.KERNEL32.DLL_SetErrorMode
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405d24
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x50b470], eax
push ebx
call sub.KERNEL32.DLL_SetErrorMode
cmp dword [0x50b470], 0
je 0x4ea9e9
push 0x4eaf24
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512200], eax
push 0x4eaf34
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512204], eax
push 0x4eaf44
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512208], eax
push 0x4eaf58
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51220c], eax
push 0x4eaf6c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512210], eax
push 0x4eaf7c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512214], eax
push 0x4eaf90
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512218], eax
push 0x4eafa4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51221c], eax
push 0x4eafb0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512220], eax
push 0x4eafc0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512224], eax
push 0x4eafd0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512228], eax
push 0x4eafdc
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51222c], eax
push 0x4eaff4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512230], eax
push 0x4eb004
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512234], eax
push 0x4eb010
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512238], eax
push 0x4eb01c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51223c], eax
push 0x4eb028
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512240], eax
push 0x4eb034
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512244], eax
push 0x4eb040
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512248], eax
push 0x4eb050
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51224c], eax
push 0x4eb060
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512250], eax
push 0x4eb070
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512254], eax
push 0x4eb080
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512258], eax
push 0x4eb094
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51225c], eax
push 0x4eb0a8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512260], eax
push 0x4eb0bc
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512264], eax
push 0x4eb0d0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512268], eax
push 0x4eb0e4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51226c], eax
push 0x4eb0f4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512270], eax
push 0x4eb10c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512274], eax
push 0x4eb124
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512278], eax
push 0x4eb134
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51227c], eax
push 0x4eb144
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512280], eax
push 0x4eb154
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512284], eax
push 0x4eb168
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512288], eax
push 0x4eb178
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51228c], eax
push 0x4eb18c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512290], eax
push 0x4eb1a0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512294], eax
push 0x4eb1b4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512298], eax
push 0x4eb1c8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51229c], eax
push 0x4eb1e0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122a0], eax
push 0x4eb1f8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122a4], eax
push 0x4eb208
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122a8], eax
push 0x4eb21c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122ac], eax
push 0x4eb234
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122b0], eax
push 0x4eb24c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122b4], eax
push 0x4eb268
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122b8], eax
push 0x4eb278
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122bc], eax
push 0x4eb294
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122c0], eax
push 0x4eb2a8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122c4], eax
push 0x4eb2c0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122c8], eax
push 0x4eb2dc
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122cc], eax
push 0x4eb2ec
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122d0], eax
push 0x4eb304
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122d4], eax
push 0x4eb31c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122d8], eax
push 0x4eb32c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122dc], eax
push 0x4eb340
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122e0], eax
push 0x4eb358
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122e4], eax
push 0x4eb36c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122e8], eax
push 0x4eb380
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122ec], eax
push 0x4eb394
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122f0], eax
push 0x4eb3b0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122f4], eax
push 0x4eb3cc
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122f8], eax
push 0x4eb3e4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x5122fc], eax
push 0x4eb3fc
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512300], eax
push 0x4eb414
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512304], eax
push 0x4eb428
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512308], eax
push 0x4eb43c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51230c], eax
push 0x4eb450
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512310], eax
push 0x4eb464
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512314], eax
push 0x4eb478
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512318], eax
push 0x4eb48c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51231c], eax
push 0x4eb4a0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512320], eax
push 0x4eb4b4
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512324], eax
push 0x4eb4d0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512328], eax
push 0x4eb4ec
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51232c], eax
push 0x4eb508
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512330], eax
push 0x4eb524
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512334], eax
push 0x4eb540
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512338], eax
push 0x4eb558
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51233c], eax
push 0x4eb574
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512340], eax
push 0x4eb590
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512344], eax
push 0x4eb5ac
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512348], eax
push 0x4eb5c8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51234c], eax
push 0x4eb5e0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512350], eax
push 0x4eb5f8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512354], eax
push 0x4eb610
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512358], eax
push 0x4eb628
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51235c], eax
push 0x4eb640
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512360], eax
push 0x4eb654
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512364], eax
push 0x4eb668
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512368], eax
push 0x4eb680
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51236c], eax
push 0x4eb694
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512370], eax
push 0x4eb6ac
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512374], eax
push 0x4eb6c0
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512378], eax
push 0x4eb6d8
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51237c], eax
push 0x4eb6ec
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512380], eax
push 0x4eb704
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512384], eax
push 0x4eb71c
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512388], eax
push 0x4eb734
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51238c], eax
push 0x4eb744
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x512390], eax
cmp dword [0x512200], 0
je 0x4eaece
cmp dword [0x512204], 0
je 0x4eaece
cmp dword [0x512208], 0
je 0x4eaece
cmp dword [0x51220c], 0
je 0x4eaece
cmp dword [0x512210], 0
je 0x4eaece
cmp dword [0x512214], 0
je 0x4eaece
cmp dword [0x512218], 0
je 0x4eaece
cmp dword [0x51221c], 0
je 0x4eaece
cmp dword [0x512220], 0
je 0x4eaece
cmp dword [0x512224], 0
je 0x4eaece
cmp dword [0x512228], 0
je 0x4eaece
cmp dword [0x51222c], 0
je 0x4eaece
cmp dword [0x512230], 0
je 0x4eaece
cmp dword [0x512234], 0
je 0x4eaece
cmp dword [0x512238], 0
je 0x4eaece
cmp dword [0x51223c], 0
je 0x4eaece
cmp dword [0x512240], 0
je 0x4eaece
cmp dword [0x512244], 0
je 0x4eaece
cmp dword [0x512248], 0
je 0x4eaece
cmp dword [0x51224c], 0
je 0x4eaece
cmp dword [0x512250], 0
je 0x4eaece
cmp dword [0x512254], 0
je 0x4eaece
cmp dword [0x512258], 0
je 0x4eaece
cmp dword [0x51225c], 0
je 0x4eaece
cmp dword [0x512260], 0
je 0x4eaece
cmp dword [0x512264], 0
je 0x4eaece
cmp dword [0x512268], 0
je 0x4eaece
cmp dword [0x51226c], 0
je 0x4eaece
cmp dword [0x512270], 0
je 0x4eaece
cmp dword [0x512274], 0
je 0x4eaece
cmp dword [0x512278], 0
je 0x4eaece
cmp dword [0x51227c], 0
je 0x4eaece
cmp dword [0x512280], 0
je 0x4eaece
cmp dword [0x512284], 0
je 0x4eaece
cmp dword [0x512288], 0
je 0x4eaece
cmp dword [0x51228c], 0
je 0x4eaece
cmp dword [0x512290], 0
je 0x4eaece
cmp dword [0x512294], 0
je 0x4eaece
cmp dword [0x512298], 0
je 0x4eaece
cmp dword [0x51229c], 0
je 0x4eaece
cmp dword [0x5122a0], 0
je 0x4eaece
cmp dword [0x5122a4], 0
je 0x4eaece
cmp dword [0x5122a8], 0
je 0x4eaece
cmp dword [0x5122ac], 0
je 0x4eaece
cmp dword [0x5122b0], 0
je 0x4eaece
cmp dword [0x5122b4], 0
je 0x4eaece
cmp dword [0x5122b8], 0
je 0x4eaece
cmp dword [0x5122bc], 0
je 0x4eaece
cmp dword [0x5122c0], 0
je 0x4eaece
cmp dword [0x5122c4], 0
je 0x4eaece
cmp dword [0x5122c8], 0
je 0x4eaece
cmp dword [0x5122cc], 0
je 0x4eaece
cmp dword [0x5122d0], 0
je 0x4eaece
cmp dword [0x5122d4], 0
je 0x4eaece
cmp dword [0x5122d8], 0
je 0x4eaece
cmp dword [0x5122dc], 0
je 0x4eaece
cmp dword [0x5122e0], 0
je 0x4eaece
cmp dword [0x5122e4], 0
je 0x4eaece
cmp dword [0x5122e8], 0
je 0x4eaece
cmp dword [0x5122ec], 0
je 0x4eaece
cmp dword [0x5122f0], 0
je 0x4eaece
cmp dword [0x5122f4], 0
je 0x4eaece
cmp dword [0x5122f8], 0
je 0x4eaece
cmp dword [0x5122fc], 0
je 0x4eaece
cmp dword [0x512300], 0
je 0x4eaece
cmp dword [0x512304], 0
je 0x4eaece
cmp dword [0x512308], 0
je 0x4eaece
cmp dword [0x51230c], 0
je 0x4eaece
cmp dword [0x512310], 0
je 0x4eaece
cmp dword [0x512314], 0
je 0x4eaece
cmp dword [0x512318], 0
je 0x4eaece
cmp dword [0x51231c], 0
je 0x4eaece
cmp dword [0x512320], 0
je 0x4eaece
cmp dword [0x512324], 0
je 0x4eaece
cmp dword [0x512328], 0
je 0x4eaece
cmp dword [0x51232c], 0
je 0x4eaece
cmp dword [0x512330], 0
je 0x4eaece
cmp dword [0x512334], 0
je 0x4eaece
cmp dword [0x512338], 0
je 0x4eaece
cmp dword [0x51233c], 0
je 0x4eaece
cmp dword [0x512340], 0
je 0x4eaece
cmp dword [0x512344], 0
je 0x4eaece
cmp dword [0x512348], 0
je 0x4eaece
cmp dword [0x51234c], 0
je 0x4eaece
cmp dword [0x512350], 0
je 0x4eaece
cmp dword [0x512354], 0
je 0x4eaece
cmp dword [0x512358], 0
je 0x4eaece
cmp dword [0x51235c], 0
je 0x4eaece
cmp dword [0x512360], 0
je 0x4eaece
cmp dword [0x512364], 0
je 0x4eaece
cmp dword [0x512368], 0
je 0x4eaece
cmp dword [0x51236c], 0
je 0x4eaece
cmp dword [0x512370], 0
je 0x4eaece
cmp dword [0x512374], 0
je 0x4eaece
cmp dword [0x512378], 0
je 0x4eaece
cmp dword [0x51237c], 0
je 0x4eaece
cmp dword [0x512380], 0
je 0x4eaece
cmp dword [0x512384], 0
je 0x4eaece
cmp dword [0x512388], 0
je 0x4eaece
cmp dword [0x51238c], 0
je 0x4eaece
cmp dword [0x512390], 0
jne 0x4eaf03
cmp dword [0x50b470], 0
je 0x4eaee2
mov eax, dword [0x50b470]
push eax
call sub.KERNEL32.DLL_FreeLibrary
cmp dword [0x50b478], 0
je 0x4eaef5
mov eax, dword [0x50b478]
call fcn.004e9750
xor eax, eax
mov dword [0x50b478], eax
xor eax, eax
mov dword [0x50b470], eax
cmp dword [0x50b470], 0
jne 0x4eaf19
cmp dword [0x50b478], 0
jne 0x4eaf19
xor eax, eax
jmp 0x4eaf1b
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret