Function at 0x498930
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, 0x502ccc
mov esi, 0x502d90
xor ebx, ebx
cmp dword [esi], 0
jne 0x498951
push 0x498e54
call sub.kernel32.dll_LoadLibraryA
mov dword [esi], eax
cmp dword [esi], 0
jne 0x49895f
xor eax, eax
mov dword [esi], eax
jmp 0x498e4c
push 0x498e5c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi], ebp
test ebp, ebp
je 0x498e4c
push 0x498e64
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 4], ebp
test ebp, ebp
je 0x498e4c
push 0x498e6c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 8], ebp
test ebp, ebp
je 0x498e4c
push 0x498e78
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0xc], ebp
test ebp, ebp
je 0x498e4c
push 0x498e80
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x14], ebp
test ebp, ebp
je 0x498e4c
push 0x498e8c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x18], ebp
test ebp, ebp
je 0x498e4c
push 0x498e98
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x1c], ebp
test ebp, ebp
je 0x498e4c
push 0x498ea4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x20], ebp
test ebp, ebp
je 0x498e4c
push 0x498eac
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x24], ebp
test ebp, ebp
je 0x498e4c
push 0x498eb4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x28], ebp
test ebp, ebp
je 0x498e4c
push 0x498ec0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x2c], ebp
test ebp, ebp
je 0x498e4c
push 0x498ecc
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x10], ebp
test ebp, ebp
je 0x498e4c
push 0x498ed8
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x30], ebp
test ebp, ebp
je 0x498e4c
push 0x498ee0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x34], ebp
test ebp, ebp
je 0x498e4c
push 0x498ee8
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x38], ebp
test ebp, ebp
je 0x498e4c
push 0x498ef0
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x3c], ebp
test ebp, ebp
je 0x498e4c
push 0x498ef8
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x40], ebp
test ebp, ebp
je 0x498e4c
push 0x498f04
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x44], ebp
test ebp, ebp
je 0x498e4c
push 0x498f0c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x48], ebp
test ebp, ebp
je 0x498e4c
push 0x498f14
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x4c], ebp
test ebp, ebp
je 0x498e4c
push 0x498f1c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x50], ebp
test ebp, ebp
je 0x498e4c
push 0x498f28
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x54], ebp
test ebp, ebp
je 0x498e4c
push 0x498f34
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x58], ebp
test ebp, ebp
je 0x498e4c
push 0x498f3c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x5c], ebp
test ebp, ebp
je 0x498e4c
push 0x498f4c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x60], ebp
test ebp, ebp
je 0x498e4c
push 0x498f5c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x64], ebp
test ebp, ebp
je 0x498e4c
push 0x498f68
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x68], ebp
test ebp, ebp
je 0x498e4c
push 0x498f78
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebp, eax
mov dword [edi + 0x6c], ebp
test ebp, ebp
je 0x498e4c
push 0x498f88
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
cmp dword [edi + 0x70], 0
je 0x498e4c
push 0x498f9c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
cmp dword [edi + 0x74], 0
je 0x498e4c
push 0x498fac
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x498e4c
push 0x498fb8
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x7c], eax
cmp dword [edi + 0x7c], 0
je 0x498e4c
push 0x498fc4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x80], eax
cmp dword [edi + 0x80], 0
je 0x498e4c
push 0x498fd4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x84], eax
cmp dword [edi + 0x84], 0
je 0x498e4c
push 0x498fe4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x88], eax
cmp dword [edi + 0x88], 0
je 0x498e4c
push 0x498ff4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x8c], eax
cmp dword [edi + 0x8c], 0
je 0x498e4c
push 0x49900c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x90], eax
cmp dword [edi + 0x90], 0
je 0x498e4c
push 0x499020
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x94], eax
cmp dword [edi + 0x94], 0
je 0x498e4c
push 0x499038
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x98], eax
cmp dword [edi + 0x98], 0
je 0x498e4c
push 0x499050
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x9c], eax
cmp dword [edi + 0x9c], 0
je 0x498e4c
push 0x499068
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa0], 0
je 0x498e4c
push 0x499080
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa4], eax
cmp dword [edi + 0xa4], 0
je 0x498e4c
push 0x49909c
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa8], eax
cmp dword [edi + 0xa8], 0
je 0x498e4c
push 0x4990b4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xac], eax
cmp dword [edi + 0xac], 0
je 0x498e4c
push 0x4990cc
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb0], eax
cmp dword [edi + 0xb0], 0
je 0x498e4c
push 0x4990e4
mov eax, dword [esi]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb4], eax
cmp dword [edi + 0xb4], 0
je 0x498e4c
mov bl, 1
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret