Function at 0x47b564
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x47b57d
add esp, 0xfffffff0
call fcn.004040b0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ba24
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47ba4c
call sub.kernel32.dll_LoadLibraryA
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0x20
jb 0x47ba0e
push 0x47ba58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x47ba68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x47ba78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x47ba80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push 0x47ba88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0x47ba94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
push 0x47baa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
push 0x47bab0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
push 0x47bac0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
push 0x47bac4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
push 0x47bacc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
push 0x47bad8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x47bae4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
push 0x47baf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x47bafc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push 0x47bb08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x47bb14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
push 0x47bb24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push 0x47bb3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x47bb48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
push 0x47bb50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
push 0x47bb58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
push 0x47bb64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
push 0x47bb6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
push 0x47bb74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
push 0x47bb80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
push 0x47bb88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
push 0x47bb90
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0x47bb98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
push 0x47bba4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
push 0x47bbb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
push 0x47bbbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
push 0x47bbc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
push 0x47bbd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
push 0x47bbec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
push 0x47bbf4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
push 0x47bbfc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc4], edx
lea edx, [ebp - 0xc]
mov eax, dword [0x4af668]
call fcn.0040ec64
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x1d4
mov ecx, 0xff
call fcn.00404db0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x5f1], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x6f1], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x7f1], 0
mov eax, dword [ebp - 4]
lea edi, [eax + 0x8f1]
mov esi, 0x47bc08
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 4]
lea edi, [eax + 0x9f1]
mov esi, 0x47bc10
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 4]
mov byte [eax + 0xbf1], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xcf1], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xdf1], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xef1], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xff1], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xff5], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xff9], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xffd], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1001], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1005], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1009], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba2b
lea eax, [ebp - 0xc]
call fcn.00404b04
ret