Function at 0x774dc772
Capabilities:
Parse pe header

Disassembly:
push 0x45c
push 0x77520820
call fcn.774a6178
mov dword [ebp - 0x434], edx
mov edi, ecx
mov dword [ebp - 0x42c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x440], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x438], ecx
push 0x42
pop ecx
mov word [ebp - 0x424], cx
push 0x44
pop eax
mov word [ebp - 0x422], ax
mov dword [ebp - 0x420], 0x77431ff8
push 0x40
pop eax
mov word [ebp - 0x464], ax
mov word [ebp - 0x462], cx
mov dword [ebp - 0x460], 0x77432040
add eax, 0x6c
push eax
xor esi, esi
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.77498e60
add esp, 0xc
call fcn.77461a00
test eax, eax
je 0x774dc824
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22b
jmp 0x774dc829
mov eax, 0x7ffe0385
test byte [eax], 1
je 0x774dc85e
call fcn.77461a00
mov ebx, 0x7ffe0384
test eax, eax
je 0x774dc84c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22a
jmp 0x774dc84e
mov eax, ebx
movzx edx, byte [eax]
lea ecx, [ebp - 0x424]
call fcn.774db2a0
jmp 0x774dc863
mov ebx, 0x7ffe0384
test edi, edi
je 0x774dcd5a
cmp edi, 0xffffffff
je 0x774dcd5a
mov eax, dword [ebp - 0x434]
and eax, 0x1000
mov dword [ebp - 0x430], eax
lea edx, [ebp - 0x45c]
mov ecx, edi
call fcn.774dc2b2
test eax, eax
jns 0x774dc8a2
cmp dword [ebp - 0x430], esi
jne 0x774dcd9c
push 0x40
lea eax, [ebp - 0x210]
push eax
xor edx, edx
mov ecx, edi
call fcn.774dc6fa
test eax, eax
js 0x774dcd9c
mov eax, 0x5a4d
cmp word [ebp - 0x210], ax
je 0x774dc8dc
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
mov eax, esi
jmp 0x774dcb15
mov edi, dword [ebp - 0x1d4]
cmp dword [ebp - 0x430], esi
je 0x774dc91b
lea eax, [ebp - 0x448]
push eax
mov edx, 0xf8
mov ecx, edi
call fcn.77441852
test eax, eax
js 0x774dc8ca
cmp edi, 0x10000000
ja 0x774dc8ca
lea eax, [edi + 0xf8]
cmp eax, edi
jbe 0x774dc8ca
cmp eax, dword [ebp - 0x45c]
jae 0x774dc8ca
push 0x108
lea eax, [ebp - 0x1d0]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x42c]
call fcn.774dc6fa
test eax, eax
js 0x774dcd9c
cmp dword [ebp - 0x1d0], 0x4550
jne 0x774dc8ca
mov eax, 0x10b
cmp word [ebp - 0x1b8], ax
jne 0x774dc9d2
lea ecx, [eax + 0x41]
mov ax, word [ebp - 0x1cc]
cmp ax, cx
je 0x774dc983
add ecx, 0x74
cmp ax, cx
je 0x774dc983
mov ecx, 0x1c2
cmp ax, cx
je 0x774dc983
add ecx, 2
cmp ax, cx
jne 0x774dc8ca
cmp dword [ebp - 0x15c], 2
ja 0x774dc996
mov edi, 0xc0000089
jmp 0x774dc8cf
cmp dword [ebp - 0x144], esi
je 0x774dc98c
mov cx, word [ebp - 0x1bc]
test cx, cx
je 0x774dc8ca
cmp cx, 0x78
jb 0x774dc8ca
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x43c], esi
test esi, esi
jne 0x774dca3d
mov eax, 0xc0000089
jmp 0x774dcd9c
mov eax, 0x20b
cmp word [ebp - 0x1b8], ax
jne 0x774dc8ca
add eax, 0xfffffff5
cmp word [ebp - 0x1cc], ax
je 0x774dca02
mov eax, 0x8664
cmp word [ebp - 0x1cc], ax
jne 0x774dc8ca
cmp dword [ebp - 0x14c], 2
jbe 0x774dc98c
cmp dword [ebp - 0x134], esi
je 0x774dc98c
mov cx, word [ebp - 0x1bc]
test cx, cx
je 0x774dc8ca
mov eax, 0x88
cmp cx, ax
jb 0x774dc8ca
mov esi, dword [ebp - 0x138]
jmp 0x774dc9be
mov ax, word [ebp - 0x1ca]
test ax, ax
jne 0x774dca50
xor esi, esi
jmp 0x774dc8ca
movzx eax, ax
imul ebx, eax, 0x28
movzx eax, cx
add eax, 0x18
add eax, ebx
add eax, edi
cmp eax, dword [ebp - 0x45c]
jbe 0x774dca7c
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
xor esi, esi
mov eax, esi
jmp 0x774dcb10
push ebx
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.77463940
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x774dcaaa
mov edi, 0xc0000017
mov dword [ebp - 0x41c], edi
jmp 0x774dcb0e
push ebx
mov ebx, dword [ebp - 0x420]
push ebx
movzx eax, word [ebp - 0x1bc]
lea edx, [edi + 0x18]
add edx, eax
mov ecx, dword [ebp - 0x42c]
call fcn.774dc6fa
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x774dcb08
xor ecx, ecx
movzx edx, word [ebp - 0x1ca]
test edx, edx
je 0x774dcaf9
cmp esi, dword [ebx + 0xc]
jb 0x774dcaf1
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0xc]
cmp esi, eax
jb 0x774dcaf9
add ebx, 0x28
inc ecx
cmp ecx, edx
jl 0x774dcae2
cmp ecx, edx
jl 0x774dcb55
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
mov eax, dword [ebp - 0x420]
xor esi, esi
mov ebx, 0x7ffe0384
test eax, eax
je 0x774dcb2f
push eax
push esi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.77461440
mov edi, dword [ebp - 0x41c]
call fcn.77461a00
test eax, eax
je 0x774dcd64
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22b
mov edi, dword [ebp - 0x41c]
jmp 0x774dcd69
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
add esi, dword [ebp - 0x43c]
je 0x774dcafd
mov edx, esi
mov ecx, dword [ebp - 0x42c]
call fcn.774dcda4
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x774dcb08
cmp dword [ebp + 0xc], 3
jne 0x774dcbe0
xor eax, eax
mov word [ebp - 0x418], ax
mov eax, dword [ebp - 0x440]
movzx eax, word [eax + 8]
mov ecx, dword [ebp - 0x434]
test cl, 0x20
je 0x774dcbb5
xor eax, eax
inc eax
mov word [ebp - 0x418], ax
xor eax, eax
mov word [ebp - 0x414], ax
jmp 0x774dcbe0
lea edx, [ebp - 0x418]
push edx
push ecx
push eax
xor edx, edx
xor ecx, ecx
call fcn.77470a7d
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jns 0x774dcbe0
cmp dword [ebp - 0x430], 0
jne 0x774dcb08
xor eax, eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x428]
push eax
push dword [ebp - 0x434]
push dword [ebp - 0x44c]
push dword [ebp - 0x450]
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x440]
push ebx
lea eax, [ebp - 0x1d0]
push eax
push esi
push dword [ebp - 0x45c]
mov edx, dword [ebp - 0x42c]
xor ecx, ecx
call fcn.774740f0
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x774dcb08
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x774dcb08
mov ax, word [ebp - 0x428]
test ax, ax
jne 0x774dcc67
xor eax, eax
mov word [ebp - 0xc8], ax
xor esi, esi
mov ebx, esi
jmp 0x774dccbe
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x468], ecx
mov ecx, 0xac
mov word [ebp - 0x46a], cx
xor esi, esi
push esi
push 2
lea ecx, [ebp - 0x46c]
push ecx
movzx eax, ax
push eax
call fcn.77455a90
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x774dcd1d
lea ebx, [ebp - 0xc8]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, si
jne 0x774dcca9
sub ebx, ecx
sar ebx, 1
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 4], esi
cmp ebx, dword [ecx]
jae 0x774dcd06
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x774dcd06
lea esi, [ebx + ebx]
push esi
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.774987e0
add esp, 0xc
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0x438]
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [ebp - 0x444]
mov word [esi + eax], cx
mov dword [ebp - 4], 0xfffffffe
jmp 0x774dcb08
lea eax, [ebx + 1]
mov dword [ecx], eax
mov edi, 0xc0000023
mov dword [ebp - 0x41c], edi
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x420]
jmp 0x774dcb10
mov edi, 0xc000000d
jmp 0x774dc8cf
mov eax, 0x7ffe0385
test byte [eax], 1
je 0x774dcd9a
call fcn.77461a00
test eax, eax
je 0x774dcd8c
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0x50]
add ebx, 0x22a
mov edi, dword [ebp - 0x41c]
movzx edx, byte [ebx]
lea ecx, [ebp - 0x464]
call fcn.774db2a0
mov eax, edi
call fcn.774a61c0
ret 0x18