Function at 0x402d70
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x489350], 1
push esi
push edi
mov edi, dword [esp + 0xc]
mov dword [0x48c6a4], edi
jne 0x402da8
mov ecx, dword [0x48934c]
xor eax, eax
test ecx, ecx
jbe 0x402d9e
mov dl, 0x90
add byte [eax + 0x489220], dl
inc eax
cmp eax, ecx
jb 0x402d93
mov dword [0x489350], 0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x489220
push edi
call esi
mov dword [0x48c6dc], eax
test eax, eax
jne 0x402dd7
mov dword [0x48c6a8], 0x489220
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x48922f
push edi
call esi
mov dword [0x48c6ec], eax
test eax, eax
jne 0x402e00
mov dword [0x48c6a8], 0x48922f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x48923f
push edi
call esi
mov dword [0x48c6d0], eax
test eax, eax
jne 0x402e29
mov dword [0x48c6a8], 0x48923f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489253
push edi
call esi
mov dword [0x48c6d4], eax
test eax, eax
jne 0x402e52
mov dword [0x48c6a8], 0x489253
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489268
push edi
call esi
mov dword [0x48c6e0], eax
test eax, eax
jne 0x402e7b
mov dword [0x48c6a8], 0x489268
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489275
push edi
call esi
mov dword [0x48c6bc], eax
test eax, eax
jne 0x402ea4
mov dword [0x48c6a8], 0x489275
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489282
push edi
call esi
mov dword [0x48c6e4], eax
test eax, eax
jne 0x402ecd
mov dword [0x48c6a8], 0x489282
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489294
push edi
call esi
mov dword [0x48c6e8], eax
test eax, eax
jne 0x402ef6
mov dword [0x48c6a8], 0x489294
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892a3
push edi
call esi
mov dword [0x48c6b0], eax
test eax, eax
jne 0x402f1f
mov dword [0x48c6a8], 0x4892a3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892b5
push edi
call esi
mov dword [0x48c6c0], eax
test eax, eax
jne 0x402f48
mov dword [0x48c6a8], 0x4892b5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892c3
push edi
call esi
mov dword [0x48c6c4], eax
test eax, eax
jne 0x402f71
mov dword [0x48c6a8], 0x4892c3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892d4
push edi
call esi
mov dword [0x48c6b8], eax
test eax, eax
jne 0x402f9a
mov dword [0x48c6a8], 0x4892d4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892e4
push edi
call esi
mov dword [0x48c6c8], eax
test eax, eax
jne 0x402fc3
mov dword [0x48c6a8], 0x4892e4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x4892ec
push edi
call esi
mov dword [0x48c6b4], eax
test eax, eax
jne 0x402fec
mov dword [0x48c6a8], 0x4892ec
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489305
push edi
call esi
mov dword [0x48c6d8], eax
test eax, eax
jne 0x403015
mov dword [0x48c6a8], 0x489305
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x489316
push edi
call esi
mov dword [0x48c6cc], eax
test eax, eax
jne 0x40303e
mov dword [0x48c6a8], 0x489316
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
push 0x48932a
push edi
call esi
mov dword [0x48c6f0], eax
test eax, eax
jne 0x403067
mov dword [0x48c6a8], 0x48932a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
pop edi
mov dword [0x48c6ac], eax
pop esi
ret
pop edi
xor eax, eax
pop esi
ret