Function at 0x45d910
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c1849
mov eax, dword fs:[0]
push eax
sub esp, 0x758
mov eax, dword [0x4f00a8]
xor eax, esp
mov dword [esp + 0x754], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f00a8]
xor eax, esp
push eax
lea eax, [esp + 0x76c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x784]
mov ecx, dword [esp + 0x790]
mov edx, dword [esp + 0x794]
mov esi, dword [esp + 0x77c]
mov ebx, dword [esp + 0x788]
mov edi, dword [esp + 0x780]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x798]
mov dword [esp + 0x20], ecx
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], eax
call fcn.004bcc80
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x774], eax
mov dword [esp + 0x4a4], 7
mov dword [esp + 0x4a0], eax
mov word [esp + 0x490], cx
mov ax, word [ebx + 2]
mov dx, word [ebx]
mov ebx, dword [esi]
mov word [esp + 0x51a], ax
mov eax, dword [esi + 0x14]
mov word [esp + 0x518], dx
mov word [esp + 0x51c], cx
mov eax, dword [eax]
mov ebp, eax
mov byte [esp + 0x774], 1
mov dword [esp + 0x1c], ebp
jmp 0x45da00
mov edx, dword [esp + 0x14]
mov esi, dword [esi + 0x14]
mov eax, dword [edx]
test ebx, ebx
je 0x45da11
cmp ebx, eax
je 0x45da16
call fcn.0049118f
cmp ebp, esi
je 0x45dab0
test ebx, ebx
jne 0x45da41
call fcn.0049118f
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x45da33
call fcn.0049118f
mov ecx, dword [edi + 0xc]
add ebp, 8
test ecx, ecx
jne 0x45da45
xor eax, eax
jmp 0x45da4d
mov eax, dword [ebx]
jmp 0x45da29
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45da68
mov eax, dword [ebp]
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45da82
cmp ecx, esi
jbe 0x45da71
call fcn.0049118f
mov eax, dword [edi]
push ebp
push esi
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.00476670
test ebx, ebx
jne 0x45daac
call fcn.0049118f
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x14]
jne 0x45da9b
call fcn.0049118f
mov edx, dword [esi]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov ebp, edx
jmp 0x45da00
mov eax, dword [ebx]
jmp 0x45da8d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
mov edi, dword [ecx + 0x1c]
mov ebx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov esi, dword [ecx + 0x30]
mov eax, dword [ecx + 0x1c]
test edi, edi
je 0x45dad4
cmp edi, eax
je 0x45dad9
call fcn.0049118f
cmp ebx, esi
je 0x45df46
test edi, edi
jne 0x45dd96
call fcn.0049118f
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x45dafa
call fcn.0049118f
mov esi, dword [ebx + 8]
test byte [esi + 0x6d0], 4
jne 0x45de13
mov ebp, dword [esp + 0x2c]
mov ecx, esi
lea edi, [ebp + 4]
call fcn.0046e1f0
mov ecx, dword [esp + 0x78c]
lea edx, [eax + ecx*2]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, esi
call fcn.0042e270
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebp
push 0xfa
call fcn.00443150
add esp, 4
push eax
lea eax, [esp + 0x528]
push 0x124
push eax
call fcn.00477440
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0xc]
lea edx, [esp + 0x530]
push edx
push ebp
call eax
add esp, 0x18
add esi, 0x418
push esi
lea ecx, [esp + 0x5c]
call fcn.004be890
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x778], 2
call fcn.004bdb40
lea ecx, [esp + 0x58]
mov byte [esp + 0x774], 4
call fcn.004be590
lea ecx, [esp + 0x4a8]
call fcn.004bdb10
test al, al
je 0x45de3d
lea ecx, [esp + 0x74]
call fcn.004bcc00
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x4b0]
push ecx
call fcn.004bebb0
add esp, 0xc
test al, al
je 0x45de7d
lea ecx, [esp + 0x4a8]
call fcn.004bda40
lea ecx, [esp + 0x74]
call fcn.004bcbe0
mov esi, eax
lea eax, [esp + 0x518]
mov dword [esp + 0x34], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45dc10
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x51c]
push edx
lea ecx, [esp + 0x494]
call fcn.00401c40
xor ebx, ebx
xor eax, eax
mov word [esp + 0x40], ax
mov eax, edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45dc50
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00401c40
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x778], 7
call fcn.00405c50
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x498]
call fcn.00401ae0
mov edi, 8
mov byte [esp + 0x774], 4
cmp dword [esp + 0x54], edi
jb 0x45dcb0
mov edx, dword [esp + 0x40]
push edx
call fcn.00490f74
add esp, 4
mov eax, dword [esp + 0x490]
cmp dword [esp + 0x4a4], edi
jae 0x45dcc7
lea eax, [esp + 0x490]
push eax
lea ecx, [esp + 0x40]
call fcn.004be890
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4e4]
mov byte [esp + 0x778], 8
call fcn.004bdb40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x774], 0xa
call fcn.004be590
lea ecx, [esp + 0x4e0]
call fcn.004bdb10
test al, al
je 0x45debd
lea ecx, [esp + 0x74]
call fcn.004bcc00
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x4e8]
push eax
call fcn.004bebb0
add esp, 0xc
lea ecx, [esp + 0x4e0]
test al, al
je 0x45df19
call fcn.004bda40
lea ecx, [esp + 0x74]
call fcn.004bcbe0
cmp eax, esi
je 0x45dde3
cmp eax, ebx
jne 0x45dd9d
mov eax, dword [esp + 0x490]
cmp dword [esp + 0x4a4], edi
jae 0x45dd72
lea eax, [esp + 0x490]
mov esi, dword [ebp]
add eax, 6
push eax
push 0xfe
add esi, 0x10
call fcn.00443150
mov ecx, dword [esi]
add esp, 4
push eax
push 2
push ebp
call ecx
add esp, 0x10
jmp 0x45ddd9
mov eax, dword [edi]
jmp 0x45daf0
mov ecx, dword [esp + 0x490]
cmp dword [esp + 0x4a4], edi
jae 0x45ddb4
lea ecx, [esp + 0x490]
mov edx, dword [esp + 0x34]
mov esi, dword [ebp]
push edx
push eax
push ecx
push 0xff
add esi, 0x10
call fcn.00443150
add esp, 4
push eax
mov eax, dword [esi]
push 2
push ebp
call eax
add esp, 0x18
mov eax, dword [esp + 0x24]
add dword [eax], 1
adc dword [eax + 4], ebx
lea ecx, [esp + 0x4e0]
mov byte [esp + 0x774], 4
call fcn.00402730
lea ecx, [esp + 0x4a8]
mov byte [esp + 0x774], 1
call fcn.00402730
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x45de39
call fcn.0049118f
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x45de28
call fcn.0049118f
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ebx, ecx
mov ecx, dword [esp + 0x14]
jmp 0x45dac6
mov eax, dword [edi]
jmp 0x45de1e
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x774], 5
call fcn.004be370
cmp dword [esp + 0x4a4], 8
mov dword [esp + 0x4a8], 0x4c7b98
jb 0x45de76
mov edx, dword [esp + 0x490]
push edx
call fcn.00490f74
add esp, 4
xor al, al
jmp 0x45df62
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x774], 6
call fcn.004be370
cmp dword [esp + 0x4a4], 8
mov dword [esp + 0x4a8], 0x4c7b98
jb 0x45de76
mov eax, dword [esp + 0x490]
push eax
call fcn.00490f74
add esp, 4
xor al, al
jmp 0x45df62
lea ecx, [esp + 0x4e4]
mov byte [esp + 0x774], 0xb
call fcn.004be370
mov esi, vtable.ckcore::InStream.0
mov dword [esp + 0x4e0], esi
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x774], 0xc
call fcn.004be370
mov dword [esp + 0x4a8], esi
cmp dword [esp + 0x4a4], edi
jb 0x45de76
mov ecx, dword [esp + 0x490]
push ecx
call fcn.00490f74
add esp, 4
xor al, al
jmp 0x45df62
mov byte [esp + 0x774], 4
call fcn.00402730
lea ecx, [esp + 0x4a8]
mov byte [esp + 0x774], 1
call fcn.00402730
cmp dword [esp + 0x4a4], edi
jmp 0x45de64
cmp dword [esp + 0x4a4], 8
jb 0x45df60
mov eax, dword [esp + 0x490]
push eax
call fcn.00490f74
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x76c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x754]
xor ecx, esp
call fcn.004911aa
add esp, 0x764
ret 0x20