Function at 0x476c80
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x476c8f
add esp, 0xfffffff0
call fcn.004042a8
mov ebx, edx
mov edi, eax
push 0x477178
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
mov dword [edi + 0x1c], esi
test esi, esi
jne 0x476cbc
mov ecx, 0x47718c
mov dl, 1
mov eax, dword [0x408400]
call fcn.0040da4c
call fcn.00404710
push 0x4771a4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x24], eax
push 0x4771b8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x28], eax
push 0x4771cc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x2c], eax
push 0x4771dc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x30], eax
push 0x4771ec
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x34], eax
push 0x4771fc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x38], eax
push 0x47721c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x3c], eax
push 0x47722c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x40], eax
push 0x477238
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x44], eax
push 0x47724c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x48], eax
push 0x477258
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x4c], eax
push 0x477264
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x50], eax
push 0x477270
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x54], eax
push 0x477288
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x58], eax
push 0x477294
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x5c], eax
push 0x4772a4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x60], eax
push 0x4772ac
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x64], eax
push 0x4772bc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x68], eax
push 0x4772c4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x6c], eax
push 0x4772d0
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x70], eax
push 0x4772e8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x74], eax
push 0x4772f4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x78], eax
push 0x477300
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x7c], eax
push 0x47730c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x80], eax
push 0x477318
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x84], eax
push 0x477328
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x88], eax
push 0x477334
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x8c], eax
push 0x477344
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x90], eax
push 0x477354
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x94], eax
push 0x477370
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x98], eax
push 0x477390
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0x9c], eax
push 0x4773a4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa4], eax
push 0x4773b4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa0], eax
push 0x4773c4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xa8], eax
push 0x4773d8
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xac], eax
push 0x4773f4
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb0], eax
push 0x4773fc
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xb4], eax
push 0x477408
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xbc], eax
push 0x477414
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc0], eax
push 0x47741c
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [edi + 0xc4], eax
push 0x477428
mov eax, dword [edi + 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
mov dword [edi + 0xb8], esi
cmp dword [edi + 0xb8], 0
je 0x476fbd
push 0x476b74
call esi
cmp dword [edi + 0x24], 0
je 0x477140
cmp dword [edi + 0x28], 0
je 0x477140
cmp dword [edi + 0x2c], 0
je 0x477140
cmp dword [edi + 0x30], 0
je 0x477140
cmp dword [edi + 0x34], 0
je 0x477140
cmp dword [edi + 0x38], 0
je 0x477140
cmp dword [edi + 0x40], 0
je 0x477140
cmp dword [edi + 0x44], 0
je 0x477140
cmp dword [edi + 0x48], 0
je 0x477140
cmp dword [edi + 0x58], 0
je 0x477140
cmp dword [edi + 0x5c], 0
je 0x477140
cmp dword [edi + 0x60], 0
je 0x477140
cmp dword [edi + 0x64], 0
je 0x477140
cmp dword [edi + 0x4c], 0
je 0x477140
cmp dword [edi + 0x50], 0
je 0x477140
cmp dword [edi + 0x54], 0
je 0x477140
cmp dword [edi + 0x3c], 0
je 0x477140
cmp dword [edi + 0x74], 0
je 0x477140
cmp dword [edi + 0x78], 0
je 0x477140
cmp dword [edi + 0x7c], 0
je 0x477140
cmp dword [edi + 0x80], 0
je 0x477140
cmp dword [edi + 0x84], 0
je 0x477140
cmp dword [edi + 0x88], 0
je 0x477140
cmp dword [edi + 0xb0], 0
je 0x477140
cmp dword [edi + 0xb4], 0
je 0x477140
cmp dword [edi + 0x68], 0
je 0x477140
cmp dword [edi + 0x6c], 0
je 0x477140
cmp dword [edi + 0x8c], 0
je 0x477140
cmp dword [edi + 0x90], 0
je 0x477140
cmp dword [edi + 0x94], 0
je 0x477140
cmp dword [edi + 0x98], 0
je 0x477140
cmp dword [edi + 0x9c], 0
je 0x477140
cmp dword [edi + 0xa4], 0
je 0x477140
cmp dword [edi + 0xa0], 0
je 0x477140
cmp dword [edi + 0xa8], 0
je 0x477140
cmp dword [edi + 0xac], 0
je 0x477140
cmp dword [edi + 0x70], 0
je 0x477140
cmp dword [edi + 0xbc], 0
je 0x477140
cmp dword [edi + 0xc0], 0
je 0x477140
cmp dword [edi + 0xc4], 0
jne 0x477156
mov ecx, 0x47744c
mov dl, 1
mov eax, dword [0x408400]
call fcn.0040da4c
call fcn.00404710
call dword [edi + 0x24]
mov dword [edi + 0x20], eax
mov eax, edi
test bl, bl
je 0x477171
call fcn.00404300
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret