Function at 0x45b904
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45b90c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45bdc7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x40f574]
call fcn.004092dc
lea eax, [ebp - 8]
mov edx, dword [0x40f574]
call fcn.004092dc
xor eax, eax
push ebp
push 0x45bd59
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00438384
lea edx, [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.0043b000
movzx eax, byte [ebx + 0x14]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 0x20]
push eax
lea edx, [ebp - 0x14]
mov esi, dword [ebx + 0x10]
mov eax, esi
call fcn.0044b8f4
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x28]
push eax
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x34]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov edx, dword [ebx + 0xc]
movzx eax, byte [ebx + 8]
call fcn.00462b64
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45bdd8
call fcn.0040a780
mov eax, dword [ebp - 0x18]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebx + 8], 2
jne 0x45b9e4
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.00445a70
jmp 0x45ba0d
mov byte [ebp - 0xd], 0
mov edx, 0x61c738
mov eax, 0x61c730
mov ecx, 0x48
call fcn.00404460
call fcn.00438768
mov dword [0x61c730], eax
mov dword [0x61c734], edx
cmp byte [ebp - 0xd], 0
jne 0x45ba26
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00445a70
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45bdd8
call fcn.0040a780
mov eax, dword [ebp - 0x1c]
mov dl, 2
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebp - 0xd], 0
jne 0x45bd4f
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
je 0x45ba9e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x45ba9e
push 0
call sub.kernel32.dll_GetModuleHandleW_2
cmp eax, dword [0x62ec40]
je 0x45ba7d
cmp byte [0x61c6fc], 0
je 0x45ba9e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45bdd8
call fcn.0040a780
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, eax
mov al, 1
call fcn.00445fe0
xor eax, eax
push ebp
push 0x45bd48
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0xd], 0
jne 0x45bb01
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x37c]
test al, al
je 0x45bacf
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x354]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x374]
test al, al
je 0x45baee
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x350]
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00445a70
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45bdd8
call fcn.0040a780
mov eax, dword [ebp - 0x2c]
mov dl, 3
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebp - 0xd], 0
jne 0x45bb34
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00445a70
cmp byte [ebp - 0xd], 0
je 0x45bb4d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x45bcf7
cmp byte [ebp - 0xd], 0
jne 0x45bbfc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
jne 0x45bb7b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x45bb7b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
test al, al
je 0x45bb8d
mov edx, 0x45b668
mov cl, 1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x364]
cmp byte [0x61c698], 0
jne 0x45bba9
cmp byte [0x61c660], 0
je 0x45bbf1
mov eax, dword [0x62bcec]
cmp byte [eax], 0
je 0x45bbf1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x394]
cmp al, 4
je 0x45bbfc
cmp byte [0x61c698], 0
jne 0x45bbce
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x3a4]
jmp 0x45bbfc
cmp dword [ebx + 0x24], 0
je 0x45bbfc
lea ecx, [ebp - 0x30]
mov dl, 1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x350]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x24]
call fcn.00406850
jmp 0x45bbfc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x3a4]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
je 0x45bc3e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x394]
cmp al, 4
je 0x45bc3e
cmp byte [0x61c698], 0
jne 0x45bc3e
cmp byte [0x61c660], 0
je 0x45bce7
mov eax, dword [0x62bcec]
cmp byte [eax], 0
je 0x45bce7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.00439638
test al, al
jne 0x45bc6f
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x45bc97
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.00439638
test al, al
jne 0x45bc97
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xe]
push eax
mov cl, 0xa
mov dl, 1
xor eax, eax
call fcn.00445a70
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0045b808
call fcn.004537ac
jmp 0x45bce7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.00439638
test al, al
je 0x45bcd0
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xe]
push eax
mov cl, 9
mov dl, 1
xor eax, eax
call fcn.00445a70
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0045b808
call fcn.0045365c
jmp 0x45bce7
mov byte [ebp - 0xe], 0
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xe]
push eax
mov cl, 8
mov dl, 1
xor eax, eax
call fcn.00445a70
cmp byte [ebp - 0xd], 0
jne 0x45bcf7
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0045b808
xor eax, eax
mov dword [0x61ce64], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd4f
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
je 0x45bd47
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x45bd47
push 0
call sub.kernel32.dll_GetModuleHandleW_2
cmp eax, dword [0x62ec40]
je 0x45bd3e
cmp byte [0x61c6fc], 0
je 0x45bd47
xor edx, edx
xor eax, eax
call fcn.00445fe0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45bd63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bdce
lea eax, [ebp - 0x30]
call fcn.004067fc
lea eax, [ebp - 0x2c]
call fcn.0040a73c
lea eax, [ebp - 0x28]
call fcn.004067fc
lea eax, [ebp - 0x24]
call fcn.0040a73c
lea eax, [ebp - 0x20]
mov edx, dword [0x437848]
mov ecx, 3
call fcn.004085d0
lea eax, [ebp - 0x14]
call fcn.0040a73c
lea eax, [ebp - 0xc]
call fcn.0040a73c
lea eax, [ebp - 8]
mov edx, dword [0x40f574]
mov ecx, 2
call fcn.004085d0
ret