Function at 0x406c10
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4a8738], 1
push esi
push edi
mov edi, dword [esp + 0xc]
mov dword [0x4df4cc], edi
jne 0x406c48
mov ecx, dword [0x4a8734]
xor eax, eax
test ecx, ecx
jbe 0x406c3e
mov dl, 0xa3
add byte [eax + 0x4a8528], dl
inc eax
cmp eax, ecx
jb 0x406c33
mov dword [0x4a8738], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a8539
push edi
call esi
mov dword [0x4df518], eax
test eax, eax
jne 0x406c77
mov dword [0x4df4d0], 0x4a8539
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8555
push edi
call esi
mov dword [0x4df4e0], eax
test eax, eax
jne 0x406ca0
mov dword [0x4df4d0], 0x4a8555
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8567
push edi
call esi
mov dword [0x4df4f4], eax
test eax, eax
jne 0x406cc9
mov dword [0x4df4d0], 0x4a8567
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8588
push edi
call esi
mov dword [0x4df4e8], eax
test eax, eax
jne 0x406cf2
mov dword [0x4df4d0], 0x4a8588
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a85a6
push edi
call esi
mov dword [0x4df508], eax
test eax, eax
jne 0x406d1b
mov dword [0x4df4d0], 0x4a85a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a85ba
push edi
call esi
mov dword [0x4df504], eax
test eax, eax
jne 0x406d44
mov dword [0x4df4d0], 0x4a85ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a85d7
push edi
call esi
mov dword [0x4df510], eax
test eax, eax
jne 0x406d6d
mov dword [0x4df4d0], 0x4a85d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a85fb
push edi
call esi
mov dword [0x4df514], eax
test eax, eax
jne 0x406d96
mov dword [0x4df4d0], 0x4a85fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a861c
push edi
call esi
mov dword [0x4df4dc], eax
test eax, eax
jne 0x406dbf
mov dword [0x4df4d0], 0x4a861c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8647
push edi
call esi
mov dword [0x4df4f0], eax
test eax, eax
jne 0x406de8
mov dword [0x4df4d0], 0x4a8647
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8662
push edi
call esi
mov dword [0x4df50c], eax
test eax, eax
jne 0x406e11
mov dword [0x4df4d0], 0x4a8662
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8677
push edi
call esi
mov dword [0x4df4fc], eax
test eax, eax
jne 0x406e3a
mov dword [0x4df4d0], 0x4a8677
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8699
push edi
call esi
mov dword [0x4df4d8], eax
test eax, eax
jne 0x406e63
mov dword [0x4df4d0], 0x4a8699
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a86b7
push edi
call esi
mov dword [0x4df4f8], eax
test eax, eax
jne 0x406e8c
mov dword [0x4df4d0], 0x4a86b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a86d8
push edi
call esi
mov dword [0x4df4ec], eax
test eax, eax
jne 0x406eb5
mov dword [0x4df4d0], 0x4a86d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a86f2
push edi
call esi
mov dword [0x4df4e4], eax
test eax, eax
jne 0x406ede
mov dword [0x4df4d0], 0x4a86f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
push 0x4a8705
push edi
call esi
mov dword [0x4df500], eax
test eax, eax
jne 0x406f07
mov dword [0x4df4d0], 0x4a8705
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov dword [0x4df4d4], eax
pop esi
ret
pop edi
xor eax, eax
pop esi
ret