Function at 0x403a04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff998
xor eax, eax
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
push edi
lea edi, [ebp - 0x668]
mov ecx, 6
mov esi, 0x4dd2d8
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [0x4dd2f0]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4dd2f4]
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov ax, word [0x4dd2f8]
test ebx, ebx
mov word [ebp - 0x30], ax
jne 0x403a64
push 0x5cb306
call sub.KERNEL32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x403a72
mov esi, 0xffffff92
jmp 0x403cec
push 0x5cb313
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x403a91
mov esi, 0xffffff88
jmp 0x403cec
push 0x5cb329
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x403ab0
mov esi, 0xffffff7e
jmp 0x403cec
push 0x5cb337
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x403acf
mov esi, 0xffffff74
jmp 0x403cec
push 0x5cb34b
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x403aee
mov esi, 0xffffff6a
jmp 0x403cec
push 0x5cb362
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x403b0d
mov esi, 0xffffff60
jmp 0x403cec
push 0x5cb36b
push ebx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x403b2c
mov esi, 0xffffff56
jmp 0x403cec
mov eax, dword [ebp + 8]
test eax, eax
je 0x403b3a
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x403b41
xor eax, eax
jmp 0x403d15
mov edx, dword [ebp + 8]
mov cl, byte [edx]
test cl, cl
je 0x403b53
mov eax, dword [ebp + 0x10]
mov dl, byte [eax]
test dl, dl
jne 0x403b5a
xor eax, eax
jmp 0x403d15
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040348c
add esp, 8
lea eax, [ebp - 0x448]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040348c
add esp, 8
lea ecx, [ebp - 0x650]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0040348c
add esp, 8
lea esi, [ebp - 0x448]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x403bab
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
test cl, cl
jne 0x403bab
xor esi, esi
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x403bb4
xor esi, esi
mov dword [ebp - 0x668], 0x18
push esi
lea eax, [ebp - 0x240]
push eax
call fcn.0040393c
add esp, 8
mov edi, eax
test edi, edi
jne 0x403bde
mov esi, 0xffffff2e
jmp 0x403cec
test esi, esi
je 0x403bfa
mov dword [ebp - 0x28], esi
push esi
call fcn.004ce3f4
pop ecx
add eax, eax
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x2a], ax
lea edx, [ebp - 0x650]
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x650]
push ecx
call fcn.004ce3f4
pop ecx
add eax, eax
mov word [ebp - 0x24], ax
xor edx, edx
mov ax, word [ebp - 0x24]
xor ecx, ecx
mov word [ebp - 0x22], ax
xor eax, eax
mov dword [ebp - 0x668], 0x18
mov dword [ebp - 0x664], edx
mov dword [ebp - 0x660], ecx
mov dword [ebp - 0x65c], eax
xor edx, edx
mov dword [ebp - 0x658], edx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x654], ecx
lea eax, [ebp - 4]
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x34], 2
mov byte [ebp - 0x30], 1
mov byte [ebp - 0x2f], 0
push eax
lea edx, [ebp - 0x668]
push 0x810
push edx
test esi, esi
je 0x403c80
lea ecx, [ebp - 0x2c]
jmp 0x403c82
xor ecx, ecx
push ecx
call dword [ebp - 8]
mov esi, eax
push esi
call dword [ebp - 0xc]
test eax, eax
je 0x403c97
mov esi, 0xffffff29
jmp 0x403cec
test esi, esi
je 0x403ca2
mov esi, 0xffffff24
jmp 0x403cec
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403cb0
mov esi, 0xffffff1a
jmp 0x403cec
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x403cc9
push 1
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x10]
mov esi, eax
jmp 0x403cdb
push 1
lea eax, [ebp - 0x24]
push eax
push 0
push edi
mov edx, dword [ebp - 4]
push edx
call dword [ebp - 0x14]
mov esi, eax
push esi
call dword [ebp - 0xc]
test eax, eax
je 0x403cea
mov esi, 0xffffff06
jmp 0x403cec
xor esi, esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403d01
mov edx, dword [ebp - 4]
test edx, edx
je 0x403d01
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x18]
test edi, edi
je 0x403d09
push edi
call dword [ebp - 0x1c]
test ebx, ebx
je 0x403d13
push ebx
call sub.KERNEL32.dll_FreeLibrary
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret