Function at 0x636824
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0040576c
lea esi, [ebp - 0x18]
xor eax, eax
push ebp
push 0x636c3e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x7b58ec], 0
jne 0x63690f
push 0x636c4c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x7b58ec], eax
cmp dword [0x7b58ec], 0
jne 0x636891
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x164], 1
jmp 0x636c0e
push 0x636c58
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b58f0], eax
push 0x636c68
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b58f4], eax
push 0x636c7c
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b58f8], eax
push 0x636c90
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b58fc], eax
push 0x636ca4
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b5900], eax
push 0x636cb8
mov eax, dword [0x7b58ec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x7b5904], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x38], 0
jne 0x63695f
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x144], 0
je 0x63695f
mov eax, dword [ebp - 0x10]
call fcn.0062ca50
test al, al
jne 0x63695f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x128]
push eax
mov eax, dword [ebp - 0x10]
push eax
push fcn.00636824
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x62c2d4]
call fcn.006364e0
jmp 0x636c0e
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x164], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004057dc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004099dc
mov eax, dword [ebp - 0x28]
mov edx, 0x636cd4
call fcn.004056c8
je 0x6369a5
push ebp
call fcn.00636804
pop ecx
jmp 0x636c0e
lea eax, [ebp - 0x14]
mov ecx, 7
mov edx, 1
call fcn.0040581c
mov edx, dword [ebp - 0x14]
mov eax, 0x636ce4
call fcn.004058c0
mov ebx, eax
cmp ebx, 1
jge 0x6369d8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x636c0e
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004057dc
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040557c
mov ecx, eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004057dc
mov edx, dword [ebp - 0x1c]
mov eax, 0x636cf0
call fcn.004058c0
mov ebx, eax
test ebx, ebx
jle 0x636a55
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0040557c
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 0x1c]
call fcn.004057dc
mov eax, dword [ebp - 0x30]
mov edx, 0x50
call fcn.0040a164
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.004057dc
jmp 0x636a5a
mov edi, 0x50
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x150], 0
jne 0x636aae
push 0
push 0
push 0
push 1
push 0x636cf4
call dword [0x7b58f0]
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 0
push edi
mov eax, dword [ebp - 0x1c]
call fcn.0040577c
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x7b58f8]
mov dword [ebp - 8], eax
jmp 0x636b0c
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x150]
call fcn.0040577c
push eax
push 3
push 0x636cf4
call dword [0x7b58f0]
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x158]
call fcn.0040577c
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x154]
call fcn.0040577c
push eax
push edi
mov eax, dword [ebp - 0x1c]
call fcn.0040577c
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [0x7b58f8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x636b26
push ebp
call fcn.006367bc
pop ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x636c0e
push 1
push 0x84400000
push 0
push 0
push 0x636d00
mov eax, dword [ebp - 0x20]
call fcn.0040577c
push eax
push 0x636d0c
mov eax, dword [ebp - 8]
push eax
call dword [0x7b58fc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x636b6b
push ebp
call fcn.006367bc
pop ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x636c0e
mov dl, 1
mov eax, dword [0x419a68]
call fcn.00404478
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [0x7b5900]
mov eax, 0x10000
call fcn.00402a94
mov ebx, eax
push esi
push 0x10000
push ebx
mov eax, dword [ebp - 4]
push eax
call dword [0x7b5904]
mov edx, ebx
mov ecx, dword [esi]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0x10]
cmp dword [esi], 0
jne 0x636b98
mov eax, ebx
call fcn.00402ab4
push ebp
call fcn.006367bc
pop ecx
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0041e958
xor eax, eax
push ebp
push 0x636c07
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov si, 0xffe7
call fcn.004046a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x636c0e
mov eax, dword [ebp - 0x24]
call fcn.004044a8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x636c45
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004052e0
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004052e0
lea eax, [ebp - 0x14]
call fcn.004052bc
ret