Function at 0x636044
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x6f
push 0
push 0
dec ecx
jne 0x63604c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x6364f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0xffffffff
push 0x63650c
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x6364b3
xor edx, edx
push ebp
push 0x6364ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x63650c
call sub.kernel32.dll_GetModuleHandleW
mov esi, eax
test esi, esi
jbe 0x636495
lea eax, [ebp - 0x360]
xor ecx, ecx
mov edx, 0x324
call fcn.00408054
mov dword [ebp - 0x360], 0x7fffffff
mov dword [ebp - 0x35c], 0xdbba0
xor eax, eax
mov dword [ebp - 0x344], eax
mov word [ebp - 0x340], 0x3039
mov dword [ebp - 0x34c], 1
xor eax, eax
mov dword [ebp - 0x348], eax
lea edx, [ebp - 0x364]
mov eax, dword [ebx + 0x44]
call fcn.0042742c
mov edx, dword [ebp - 0x364]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040baf4
lea edx, [ebp - 0x368]
mov eax, dword [ebx + 0x44]
call fcn.004273e0
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.0040baf4
mov edx, 0x636524
lea eax, [ebp - 0x33e]
call fcn.00634c2c
mov eax, dword [ebp - 4]
call fcn.0040ba68
mov edx, eax
lea eax, [ebp - 0x23e]
call fcn.00634c2c
mov eax, dword [ebp - 8]
call fcn.0040ba68
mov edx, eax
lea eax, [ebp - 0x13e]
call fcn.00634c2c
push 0x636528
push esi
call sub.kernel32.dll_GetProcAddress
mov edi, eax
push 0x636534
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x30], eax
push 0x636540
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x24], eax
push 0x63654c
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x28], eax
push 0x63655c
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x360]
push eax
push 0x635338
push 0x6352e4
push 0x6352b0
push 0x635284
push 0x635250
push 0x63521c
push 0x635164
push 0x635584
push 0x635574
push 0x635374
lea eax, [ebp - 0x3c]
push eax
call edi
add esp, 0x34
mov dword [ebp - 0x18], eax
mov dword [0x652980], ebx
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
test edi, edi
jle 0x63628b
mov esi, 1
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x36c]
call fcn.00427534
mov edx, dword [ebp - 0x36c]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.0040baf4
mov eax, dword [ebp - 0xc]
call fcn.00635f18
cdq
push edx
push eax
mov eax, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
inc esi
dec edi
jne 0x63623a
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
mov edi, dword [eax + 8]
test edi, edi
jle 0x636461
mov esi, 1
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x370]
call fcn.00427534
mov edx, dword [ebp - 0x370]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.0040baf4
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
cmp dword [eax + 0x24], 0
je 0x63635b
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x10]
mov ecx, 0
call fcn.0040baf4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x636305
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x63631c
lea eax, [ebp - 0x10]
mov edx, 0x636578
call fcn.0040b990
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x378]
call fcn.0042742c
mov edx, dword [ebp - 0x378]
lea eax, [ebp - 0x374]
mov ecx, 0
call fcn.0040baf4
mov edx, dword [ebp - 0x374]
lea eax, [ebp - 0x10]
call fcn.0040b990
jmp 0x636387
mov edx, esi
dec edx
mov eax, dword [ebx + 0x40]
call fcn.00636714
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x37c]
call fcn.0042742c
mov edx, dword [ebp - 0x37c]
lea eax, [ebp - 0x10]
mov ecx, 0
call fcn.0040baf4
mov dword [ebp - 0x20], 1
movzx eax, byte [ebx + 0x7d]
sub al, 1
jb 0x63639e
je 0x6363a5
dec al
je 0x6363ae
jmp case.default.0x6363b7
xor eax, eax
mov dword [ebp - 0x20], eax
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 1
jmp case.default.0x6363b7
movzx eax, byte [ebx + 0x7e]
cmp eax, 6
ja case.default.0x6363b7
jmp dword [eax*4 + 0x6363be]
mov dword [ebp - 0x20], 0xf03
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1003
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1103
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1203
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1303
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1403
jmp case.default.0x6363b7
mov dword [ebp - 0x20], 0x1503
mov eax, dword [ebp - 0x20]
push eax
push 0x635484
push 0x635408
push 0x63537c
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040ba68
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040ba68
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x24]
add esp, 0x20
test eax, eax
jne 0x636459
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.006358f8
inc esi
dec edi
jne 0x6362a1
push 0x635408
push 0x63537c
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x28]
add esp, 0x10
test eax, eax
jne 0x636488
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
call fcn.006358f8
mov eax, dword [ebp - 0x18]
push eax
call dword [ebp - 0x30]
pop ecx
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6364b3
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x636500
lea eax, [ebp - 0x37c]
mov edx, 2
call fcn.0040b1fc
lea eax, [ebp - 0x374]
call fcn.0040b1c0
lea eax, [ebp - 0x370]
mov edx, 4
call fcn.0040b1fc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040b22c
ret