Function at 0x1a6c772
Capabilities:
Parse pe header

Disassembly:
push 0x45c
push 0x1ab0820
call fcn.01a36178
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], 0x19c1ff8
push 0x40
pop eax
mov word [ebp - 0x464], ax
mov word [ebp - 0x462], cx
mov dword [ebp - 0x460], 0x19c2040
add eax, 0x6c
push eax
xor esi, esi
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.01a28e60
add esp, 0xc
call fcn.019f1a00
test eax, eax
je 0x1a6c824
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22b
jmp 0x1a6c829
mov eax, 0x7ffe0385
test byte [eax], 1
je 0x1a6c85e
call fcn.019f1a00
mov ebx, 0x7ffe0384
test eax, eax
je 0x1a6c84c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22a
jmp 0x1a6c84e
mov eax, ebx
movzx edx, byte [eax]
lea ecx, [ebp - 0x424]
call fcn.01a6b2a0
jmp 0x1a6c863
mov ebx, 0x7ffe0384
test edi, edi
je 0x1a6cd5a
cmp edi, 0xffffffff
je 0x1a6cd5a
mov eax, dword [ebp - 0x434]
and eax, 0x1000
mov dword [ebp - 0x430], eax
lea edx, [ebp - 0x45c]
mov ecx, edi
call fcn.01a6c2b2
test eax, eax
jns 0x1a6c8a2
cmp dword [ebp - 0x430], esi
jne 0x1a6cd9c
push 0x40
lea eax, [ebp - 0x210]
push eax
xor edx, edx
mov ecx, edi
call fcn.01a6c6fa
test eax, eax
js 0x1a6cd9c
mov eax, 0x5a4d
cmp word [ebp - 0x210], ax
je 0x1a6c8dc
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
mov eax, esi
jmp 0x1a6cb15
mov edi, dword [ebp - 0x1d4]
cmp dword [ebp - 0x430], esi
je 0x1a6c91b
lea eax, [ebp - 0x448]
push eax
mov edx, 0xf8
mov ecx, edi
call fcn.019d1852
test eax, eax
js 0x1a6c8ca
cmp edi, 0x10000000
ja 0x1a6c8ca
lea eax, [edi + 0xf8]
cmp eax, edi
jbe 0x1a6c8ca
cmp eax, dword [ebp - 0x45c]
jae 0x1a6c8ca
push 0x108
lea eax, [ebp - 0x1d0]
push eax
mov edx, edi
mov ecx, dword [ebp - 0x42c]
call fcn.01a6c6fa
test eax, eax
js 0x1a6cd9c
cmp dword [ebp - 0x1d0], 0x4550
jne 0x1a6c8ca
mov eax, 0x10b
cmp word [ebp - 0x1b8], ax
jne 0x1a6c9d2
lea ecx, [eax + 0x41]
mov ax, word [ebp - 0x1cc]
cmp ax, cx
je 0x1a6c983
add ecx, 0x74
cmp ax, cx
je 0x1a6c983
mov ecx, 0x1c2
cmp ax, cx
je 0x1a6c983
add ecx, 2
cmp ax, cx
jne 0x1a6c8ca
cmp dword [ebp - 0x15c], 2
ja 0x1a6c996
mov edi, 0xc0000089
jmp 0x1a6c8cf
cmp dword [ebp - 0x144], esi
je 0x1a6c98c
mov cx, word [ebp - 0x1bc]
test cx, cx
je 0x1a6c8ca
cmp cx, 0x78
jb 0x1a6c8ca
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x43c], esi
test esi, esi
jne 0x1a6ca3d
mov eax, 0xc0000089
jmp 0x1a6cd9c
mov eax, 0x20b
cmp word [ebp - 0x1b8], ax
jne 0x1a6c8ca
add eax, 0xfffffff5
cmp word [ebp - 0x1cc], ax
je 0x1a6ca02
mov eax, 0x8664
cmp word [ebp - 0x1cc], ax
jne 0x1a6c8ca
cmp dword [ebp - 0x14c], 2
jbe 0x1a6c98c
cmp dword [ebp - 0x134], esi
je 0x1a6c98c
mov cx, word [ebp - 0x1bc]
test cx, cx
je 0x1a6c8ca
mov eax, 0x88
cmp cx, ax
jb 0x1a6c8ca
mov esi, dword [ebp - 0x138]
jmp 0x1a6c9be
mov ax, word [ebp - 0x1ca]
test ax, ax
jne 0x1a6ca50
xor esi, esi
jmp 0x1a6c8ca
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 0x1a6ca7c
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
xor esi, esi
mov eax, esi
jmp 0x1a6cb10
push ebx
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.019f3940
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x1a6caaa
mov edi, 0xc0000017
mov dword [ebp - 0x41c], edi
jmp 0x1a6cb0e
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.01a6c6fa
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x1a6cb08
xor ecx, ecx
movzx edx, word [ebp - 0x1ca]
test edx, edx
je 0x1a6caf9
cmp esi, dword [ebx + 0xc]
jb 0x1a6caf1
mov eax, dword [ebx + 0x10]
add eax, dword [ebx + 0xc]
cmp esi, eax
jb 0x1a6caf9
add ebx, 0x28
inc ecx
cmp ecx, edx
jl 0x1a6cae2
cmp ecx, edx
jl 0x1a6cb55
mov edi, 0xc000007b
mov dword [ebp - 0x41c], edi
mov eax, dword [ebp - 0x420]
xor esi, esi
mov ebx, 0x7ffe0384
test eax, eax
je 0x1a6cb2f
push eax
push esi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.019f1440
mov edi, dword [ebp - 0x41c]
call fcn.019f1a00
test eax, eax
je 0x1a6cd64
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x50]
add eax, 0x22b
mov edi, dword [ebp - 0x41c]
jmp 0x1a6cd69
mov esi, dword [ebx + 0x14]
sub esi, dword [ebx + 0xc]
add esi, dword [ebp - 0x43c]
je 0x1a6cafd
mov edx, esi
mov ecx, dword [ebp - 0x42c]
call fcn.01a6cda4
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x1a6cb08
cmp dword [ebp + 0xc], 3
jne 0x1a6cbe0
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 0x1a6cbb5
xor eax, eax
inc eax
mov word [ebp - 0x418], ax
xor eax, eax
mov word [ebp - 0x414], ax
jmp 0x1a6cbe0
lea edx, [ebp - 0x418]
push edx
push ecx
push eax
xor edx, edx
xor ecx, ecx
call fcn.01a00a7d
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jns 0x1a6cbe0
cmp dword [ebp - 0x430], 0
jne 0x1a6cb08
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.01a040f0
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x1a6cb08
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x1a6cb08
mov ax, word [ebp - 0x428]
test ax, ax
jne 0x1a6cc67
xor eax, eax
mov word [ebp - 0xc8], ax
xor esi, esi
mov ebx, esi
jmp 0x1a6ccbe
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.019e5a90
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
js 0x1a6cd1d
lea ebx, [ebp - 0xc8]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, si
jne 0x1a6cca9
sub ebx, ecx
sar ebx, 1
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 4], esi
cmp ebx, dword [ecx]
jae 0x1a6cd06
mov eax, dword [ebp - 0x444]
test eax, eax
je 0x1a6cd06
lea esi, [ebx + ebx]
push esi
lea ecx, [ebp - 0xc8]
push ecx
push eax
call fcn.01a287e0
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 0x1a6cb08
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 0x1a6cb10
mov edi, 0xc000000d
jmp 0x1a6c8cf
mov eax, 0x7ffe0385
test byte [eax], 1
je 0x1a6cd9a
call fcn.019f1a00
test eax, eax
je 0x1a6cd8c
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.01a6b2a0
mov eax, edi
call fcn.01a361c0
ret 0x18