Function at 0x45b030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45b038
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45b4f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x41a2d4]
call fcn.00408538
lea eax, [ebp - 8]
mov edx, dword [0x41a2d4]
call fcn.00408538
xor eax, eax
push ebp
push 0x45b485
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043f36c
lea edx, [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00441f84
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.0044c29c
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.00462428
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45b504
call fcn.00408d58
mov eax, dword [ebp - 0x18]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebx + 8], 2
jne 0x45b110
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.0044641c
jmp 0x45b139
mov byte [ebp - 0xd], 0
mov edx, 0x5d0888
mov eax, 0x5d0880
mov ecx, 0x48
call fcn.00403278
call fcn.0043f750
mov dword [0x5d0880], eax
mov dword [0x5d0884], edx
cmp byte [ebp - 0xd], 0
jne 0x45b152
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044641c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45b504
call fcn.00408d58
mov eax, dword [ebp - 0x1c]
mov dl, 2
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebp - 0xd], 0
jne 0x45b47b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
je 0x45b1ca
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x45b1ca
push 0
call sub.KERNEL32.DLL_GetModuleHandleW_2
cmp eax, dword [0x5dbb50]
je 0x45b1a9
cmp byte [0x5d084c], 0
je 0x45b1ca
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45b504
call fcn.00408d58
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, eax
mov al, 1
call fcn.0044698c
xor eax, eax
push ebp
push 0x45b474
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0xd], 0
jne 0x45b22d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x37c]
test al, al
je 0x45b1fb
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 0x45b21a
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.0044641c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov ecx, 0x45b504
call fcn.00408d58
mov eax, dword [ebp - 0x2c]
mov dl, 3
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [ebp - 0xd], 0
jne 0x45b260
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0044641c
cmp byte [ebp - 0xd], 0
je 0x45b279
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x45b423
cmp byte [ebp - 0xd], 0
jne 0x45b328
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
test al, al
jne 0x45b2a7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x45b2a7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30]
test al, al
je 0x45b2b9
mov edx, 0x45ad94
mov cl, 1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x364]
cmp byte [0x5d07e8], 0
jne 0x45b2d5
cmp byte [0x5d07b0], 0
je 0x45b31d
mov eax, dword [0x5d8934]
cmp byte [eax], 0
je 0x45b31d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x394]
cmp al, 4
je 0x45b328
cmp byte [0x5d07e8], 0
jne 0x45b2fa
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x3a4]
jmp 0x45b328
cmp dword [ebx + 0x24], 0
je 0x45b328
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.00405d30
jmp 0x45b328
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 0x45b36a
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x394]
cmp al, 4
je 0x45b36a
cmp byte [0x5d07e8], 0
jne 0x45b36a
cmp byte [0x5d07b0], 0
je 0x45b413
mov eax, dword [0x5d8934]
cmp byte [eax], 0
je 0x45b413
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x58]
call fcn.004405f0
test al, al
jne 0x45b39b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x45b3c3
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.004405f0
test al, al
jne 0x45b3c3
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.0044641c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0045af34
call fcn.00453ffc
jmp 0x45b413
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x50]
call fcn.004405f0
test al, al
je 0x45b3fc
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.0044641c
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.0045af34
call fcn.00453eac
jmp 0x45b413
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.0044641c
cmp byte [ebp - 0xd], 0
jne 0x45b423
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0045af34
xor eax, eax
mov dword [0x5d0fb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b47b
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x314]
cmp al, 1
je 0x45b473
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x38]
test al, al
je 0x45b473
push 0
call sub.KERNEL32.DLL_GetModuleHandleW_2
cmp eax, dword [0x5dbb50]
je 0x45b46a
cmp byte [0x5d084c], 0
je 0x45b473
xor edx, edx
xor eax, eax
call fcn.0044698c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45b48f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b4fa
lea eax, [ebp - 0x30]
call fcn.00405cdc
lea eax, [ebp - 0x2c]
call fcn.00408d14
lea eax, [ebp - 0x28]
call fcn.00405cdc
lea eax, [ebp - 0x24]
call fcn.00408d14
lea eax, [ebp - 0x20]
mov edx, dword [0x43e834]
mov ecx, 3
call fcn.004077dc
lea eax, [ebp - 0x14]
call fcn.00408d14
lea eax, [ebp - 0xc]
call fcn.00408d14
lea eax, [ebp - 8]
mov edx, dword [0x41a2d4]
mov ecx, 2
call fcn.004077dc
ret