Function at 0x459360
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x268
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x264], eax
mov eax, dword [esp + 0x26c]
push ebx
push ebp
mov ebp, dword [esp + 0x278]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
call fcn.00419890
call fcn.00415af0
test al, al
je 0x4593d8
mov ebx, dword [ebp]
test ebx, ebx
je 0x4593d8
cmp byte [ebp + 0x80], 0
jne 0x459422
cmp dword [0x4f5b34], 0
mov esi, 0x4f5b34
je 0x4593d8
lea esp, [esp]
mov ecx, dword [esi]
push ebx
push ecx
call fcn.0046ff94
add esp, 8
test eax, eax
je 0x459422
add esi, 4
cmp dword [esi], 0
jne 0x4593c0
call fcn.00419890
cmp byte [eax + 6], 0
je 0x45944a
call fcn.00419890
cmp byte [eax + 0x967], 0
je 0x45944a
mov eax, dword [ebp]
mov dl, byte [ebp + 0x81]
mov byte [esp + 0x24], dl
test eax, eax
je 0x45944a
mov ecx, dword [esp + 0x24]
push ecx
mov edi, eax
call fcn.0045f8d0
test al, al
je 0x459446
mov ecx, dword [esp + 0x14]
call fcn.0041a480
push str.ComManager::LoadBundle_Win10Metro
jmp 0x459430
mov ecx, dword [esp + 0x14]
call fcn.0041a480
push 0x4dd270
push 0x4d4204
mov edx, eax
call fcn.0041f080
add esp, 8
xor al, al
jmp 0x45980d
mov edi, dword [esp + 0x1c]
mov ebx, edi
call fcn.0045e660
test al, al
je 0x459465
mov ecx, dword [esp + 0x14]
call fcn.0041a480
push 0x4dd300
jmp 0x459430
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x72]
push eax
mov word [esp + 0x74], dx
call fcn.00476c30
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x34]
add esp, 0xc
push ecx
push edx
push eax
mov eax, edi
call fcn.0045bfb0
push eax
push str._s_s_s_s
lea ecx, [esp + 0x7c]
push 0x104
push ecx
call fcn.0046fdbd
add esp, 0x1c
lea esi, [esp + 0x68]
call fcn.00452d20
test al, al
jne 0x4594e2
cmp byte [esp + 0x284], al
je 0x4594cf
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push eax
mov eax, edi
call fcn.0045c420
mov ecx, dword [esp + 0x14]
call fcn.0041a480
push 0x4dd348
jmp 0x459430
cmp dword [ebp + 0x40], 0
mov byte [esp + 0x1b], 0
jne 0x45952e
lea ecx, [esp + 0x68]
push ecx
lea ebx, [esp + 0x1f]
mov esi, edi
call fcn.0045c300
test al, al
jne 0x45952e
cmp byte [esp + 0x284], al
je 0x459519
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push eax
mov eax, edi
call fcn.0045c420
mov ecx, dword [esp + 0x14]
push 0x4dd398
call fcn.00403120
xor al, al
jmp 0x45980d
mov ecx, edi
call fcn.0045e000
cmp dword [ebp + 0x40], 0
jne 0x4597c3
cmp byte [esp + 0x1b], 0
je 0x459553
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x45955c
lea eax, [esp + 0x68]
call fcn.004269a0
mov esi, eax
test esi, esi
jne 0x45959c
lea edx, [edi + 0x137c]
push edx
call fcn.004239c0
cmp byte [esp + 0x284], 0
je 0x459587
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
push eax
push ecx
mov eax, edi
call fcn.0045c420
mov ecx, dword [esp + 0x14]
push 0x4dd3f0
call fcn.00403120
xor al, al
jmp 0x45980d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetCRTExceptionHandler
push esi
call edi
test eax, eax
je 0x4595b8
push 0x42fb40
call eax
add esp, 4
push 0x4dc9c4
push esi
call edi
mov dword [ebp + 0x44], eax
test eax, eax
jne 0x4595f3
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x1c]
add edx, 0x137c
push edx
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push 0x4dd448
call fcn.00403120
xor al, al
jmp 0x45980d
push 0x4dca4c
push esi
call edi
test eax, eax
jne 0x45962a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x1c]
add eax, 0x137c
push eax
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push 0x4dd4a0
call fcn.00403120
xor al, al
jmp 0x45980d
call eax
mov ebx, eax
test ebx, ebx
jne 0x45965e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1c]
add ecx, 0x137c
push ecx
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push 0x4dd4f8
call fcn.00403120
xor al, al
jmp 0x45980d
cmp dword [ebx + 0x1c], 9
jl 0x459696
cmp dword [ebx + 0x20], 0x22
jle 0x459696
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x1c]
add edx, 0x137c
push edx
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push 0x4dd548
call fcn.00403120
xor al, al
jmp 0x45980d
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00476c30
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xaf4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
add esp, 0xc
push 0x20
lea edx, [esp + 0x2c]
push edx
call eax
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x28]
call fcn.0041f770
test eax, eax
jge 0x459720
mov ecx, dword [ebx + 0x18]
push ecx
call fcn.0047205c
add esp, 4
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [esp + 0x1c]
add edx, 0x137c
push edx
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push edi
push 0x4dd5a8
call fcn.00403120
mov ecx, eax
call fcn.0041a870
push edi
call fcn.00470027
add esp, 4
xor al, al
jmp 0x45980d
mov eax, dword [ebx + 0x1c]
mov dword [ebp + 0x1c], eax
mov ebx, dword [ebx + 0x18]
call fcn.00452cc0
push 0x4dcb90
push esi
mov dword [ebp + 0x18], eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x45976b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1c]
add ecx, 0x137c
push ecx
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push 0x4dd608
call fcn.00403120
xor al, al
jmp 0x45980d
push str.UnInitializeBundle
push esi
call edi
mov edi, dword [esp + 0x1c]
mov dword [ebp + 0x48], eax
mov edx, dword [edi + 0xaf4]
mov eax, dword [ebp + 0x44]
push edx
call eax
add esp, 4
call ebx
mov dword [ebp + 0x4c], eax
test eax, eax
jne 0x4597c0
mov ebp, dword [ebp + 0x48]
test ebp, ebp
je 0x45979b
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
add edi, 0x137c
push edi
call fcn.004239c0
mov ecx, dword [esp + 0x14]
push str.ComManager::LoadBundle
call fcn.00403120
xor al, al
jmp 0x45980d
mov dword [ebp + 0x40], esi
mov ecx, dword [ebp + 0x4c]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 0x40000000
push 0
call edx
test al, al
je 0x4597ff
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4597ff
cmp dword [ebp + 0x1c], 0xa
mov dword [ebp + 0x6c], ecx
jl 0x4597ff
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push 0x22
call edx
add edi, 0x137c
push edi
call fcn.004239c0
mov al, 1
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046fdae
add esp, 0x268
ret 0xc