Function at 0x40760c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x774
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x38]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 0x80000001
call dword [0x40b018]
test eax, eax
jne 0x40764b
push dword [ebp - 0x38]
call dword [0x40b01c]
mov edi, 0x105
lea eax, [ebp - 0x468]
push edi
push ebx
push eax
call 0x40b6dc
push 0x20a
lea eax, [ebp - 0x774]
push ebx
push eax
call 0x40b6dc
push ebx
call fcn.0040a2d9
add esp, 0x1c
test eax, eax
push edi
je 0x40768e
lea eax, [ebp - 0x774]
push eax
push ebx
call dword [0x40b12c]
jmp 0x40769c
lea eax, [ebp - 0x468]
push eax
push ebx
call dword [0x40b0a4]
cmp eax, ebx
jne 0x4076a7
push 0xa
jmp 0x40774d
push ebx
call fcn.0040a2d9
pop ecx
push ebx
push 0x80
push 3
push ebx
test eax, eax
push 1
push 0x80000000
je 0x4076d1
lea eax, [ebp - 0x774]
push eax
call dword [0x40b110]
jmp 0x4076de
lea eax, [ebp - 0x468]
push eax
call dword [0x40b090]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4076ea
push 0xb
jmp 0x40774d
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 4]
call dword [0x40b128]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp - 0x18], eax
call dword [0x40b098]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x30], edi
jne 0x407725
push dword [ebp - 0x18]
mov esi, dword [0x40b168]
call esi
push dword [ebp - 4]
call esi
push 0xd
jmp 0x40774d
push ebx
push dword [ebp - 4]
call dword [0x40b094]
cmp eax, 0xffffffff
jne 0x407760
push dword [ebp - 0x18]
mov esi, dword [0x40b168]
call esi
push dword [ebp - 4]
call esi
push edi
call dword [0x40b124]
push 0xe
pop esi
call dword [0x40b07c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, esi
jmp 0x407c92
lea ecx, [eax + edi]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
jle 0x40780f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
neg eax
sbb eax, eax
mov dword [ebp - 0x10], ecx
and eax, 0x7e00
add eax, 0x200
cmp ecx, eax
jl 0x407795
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push 0x4273a0
call 0x40b6d6
add esp, 0xc
cmp dword [ebp - 0xc], ebx
jne 0x4077fd
push 0x1c
lea eax, [ebp - 0x60]
push 0x4273a0
push eax
call 0x40b6d6
add esp, 0xc
test dword [ebp - 0x60], 0xfffffff0
jne 0x4077fd
cmp dword [ebp - 0x5c], 0xdeadbeef
jne 0x4077fd
cmp dword [ebp - 0x50], 0x74736e49
jne 0x4077fd
cmp dword [ebp - 0x54], 0x74666f73
jne 0x4077fd
cmp dword [ebp - 0x58], 0x6c6c754e
jne 0x4077fd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
lea esi, [eax + ecx]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp + 0x10], eax
cmp dword [ebp - 8], ebx
jg 0x407777
cmp word [edi], 0x5a4d
je 0x40781a
push 0xf
jmp 0x407861
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
je 0x40782b
push 0x10
jmp 0x407861
cmp esi, ebx
jne 0x407858
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 6]
mov esi, dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x18]
add esi, edi
cmp edx, ebx
jle 0x407850
add ecx, 0x10
add esi, dword [ecx]
add ecx, 0x28
dec edx
jne 0x407848
cmp esi, ebx
jne 0x407858
push 0x11
jmp 0x407861
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
ja 0x407880
push 0x12
mov esi, dword [0x40b168]
pop ebx
push dword [ebp - 0x18]
call esi
push dword [ebp - 4]
call esi
push edi
call dword [0x40b124]
mov eax, ebx
jmp 0x407c92
mov eax, dword [eax + 0x98]
cmp eax, ebx
je 0x4078ad
lea ecx, [eax + edi]
cmp esi, ecx
jne 0x4078ad
push dword [ebp - 0x18]
mov esi, dword [0x40b168]
call esi
push dword [ebp - 4]
call esi
push edi
call dword [0x40b124]
jmp 0x407c8f
sub ecx, esi
mov edi, ecx
push edi
mov dword [ebp - 0x1c], edi
call 0x40b706
push edi
push ebx
push eax
mov dword [ebp + 0x10], eax
call 0x40b6dc
push edi
mov edi, dword [ebp + 0x10]
push esi
push edi
call 0x40b6d6
add esp, 0x1c
cmp byte [esi], 0x3c
je 0x407a96
mov esi, 0xff
lea eax, [ebp - 0x568]
push esi
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
call 0x40b6dc
push esi
lea eax, [ebp - 0x360]
push ebx
push eax
call 0x40b6dc
push esi
lea eax, [ebp - 0x160]
push ebx
push eax
call 0x40b6dc
push esi
lea eax, [ebp - 0x260]
push ebx
push eax
call 0x40b6dc
mov eax, edi
movzx ecx, byte [eax]
lea edi, [ecx + eax + 1]
mov al, byte [ecx + eax + 1]
inc edi
movzx eax, al
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0x568]
push edi
push eax
call 0x40b6d6
mov al, byte [edi + esi]
add edi, esi
movzx eax, al
inc edi
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0x360]
push edi
push eax
call 0x40b6d6
mov al, byte [edi + esi]
add edi, esi
movzx eax, al
add esp, 0x48
inc edi
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x160]
push edi
push eax
call 0x40b6d6
mov al, byte [edi + esi]
add edi, esi
movzx eax, al
inc edi
mov dword [ebp - 0x44], eax
push eax
lea eax, [ebp - 0x260]
push edi
push eax
call 0x40b6d6
add esp, 0x18
add edi, esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
xor esi, esi
cmp esi, 8
jb 0x4079b8
mov eax, dword [ebp - 0x14]
add eax, 8
cmp esi, eax
jae 0x407a51
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
jne 0x4079c3
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jne 0x4079ce
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
jne 0x4079d9
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
jne 0x4079e4
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x28]
lea eax, [esi + edi]
mov cl, byte [ebp + ecx - 0x568]
xor byte [eax], cl
mov ecx, dword [ebp - 0x10]
mov dl, byte [eax]
mov cl, byte [ebp + ecx - 0x360]
xor cl, dl
mov edx, dword [ebp - 0xc]
mov byte [eax], cl
mov dl, byte [ebp + edx - 0x160]
xor dl, cl
mov ecx, dword [ebp - 8]
mov byte [eax], dl
mov cl, byte [ebp + ecx - 0x260]
xor cl, dl
cmp esi, 7
mov byte [eax], cl
jne 0x407a31
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
jmp 0x407a3f
cmp esi, 8
jne 0x407a3f
cmp cl, 0x3c
jne 0x407c68
inc esi
inc dword [ebp - 0x28]
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
inc dword [ebp - 8]
jmp 0x4079a5
add edi, 8
cmp dword [ebp - 0x2c], ebx
jbe 0x407a6d
mov eax, dword [ebp - 0x1c]
add eax, 0xa
push eax
push dword [ebp + 0x10]
call 0x40b700
pop ecx
mov dword [ebp + 0x10], eax
pop ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
lea esi, [eax + ecx]
mov dword [ebp - 0x1c], esi
jbe 0x407a96
push 0xa
lea eax, [esi + edi]
push 0x40d568
push eax
call 0x40b6d6
add esp, 0xc
add esi, 0xa
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x18]
mov esi, dword [0x40b168]
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 0x30]
call dword [0x40b124]
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ebx
jle 0x407ba5
mov eax, dword [ebp - 0x1c]
xor esi, esi
sub eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jb 0x407b13
push eax
mov eax, dword [ebp - 4]
push dword [eax - 8]
push edi
call 0x40b6fa
add esp, 0xc
test eax, eax
je 0x407b1f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x14], eax
jb 0x407b13
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], ebx
je 0x407b13
push eax
mov eax, ecx
push dword [eax + 4]
push edi
call 0x40b6fa
add esp, 0xc
test eax, eax
je 0x407b31
add dword [ebp - 4], 0x34
inc esi
cmp esi, 0xb
jb 0x407acf
jmp 0x407b95
imul esi, esi, 0x34
mov eax, dword [ebp + 0xc]
add eax, esi
mov ecx, dword [eax + 0x10]
add ecx, edi
mov dword [eax + 0x20], ecx
jmp 0x407b95
imul esi, esi, 0x34
mov eax, dword [ebp + 0xc]
add esi, eax
mov eax, edi
mov dword [esi + 0x24], edi
sub eax, dword [esi + 0x20]
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x407b74
inc eax
push eax
call 0x40b706
pop ecx
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
jbe 0x407b69
inc ecx
push ecx
push dword [esi + 0x20]
push eax
call dword [0x40b0c8]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov byte [eax + ecx], bl
jmp 0x407b95
cmp ecx, 1
jne 0x407b95
cmp eax, ebx
jbe 0x407b95
push eax
call 0x40b706
mov dword [esi + 0x28], eax
push dword [esi + 0x2c]
push dword [esi + 0x20]
push eax
call 0x40b6d6
add esp, 0x10
inc dword [ebp - 8]
inc edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x1c]
jl 0x407abb
cmp dword [ebp + 0x10], ebx
je 0x407bb3
push dword [ebp + 0x10]
call 0x40b6e2
pop ecx
lea eax, [ebp - 0x24]
push ebx
push eax
mov edi, 0xf003f
push ebx
push edi
mov esi, dword [0x40b018]
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x80000002
call esi
lea eax, [ebp - 0x20]
push ebx
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x80000001
call esi
mov eax, dword [ebp + 0xc]
mov edi, dword [0x40b014]
mov dword [ebp + 0xc], 0xb
lea esi, [eax + 0x2c]
cmp dword [esi - 0x28], ebx
jne 0x407c40
mov edx, dword [esi - 4]
cmp edx, ebx
je 0x407c40
mov eax, dword [esi]
cmp eax, ebx
jbe 0x407c40
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x407c40
cmp dword [ebp - 0x24], ebx
je 0x407c29
cmp dword [esi - 0x2c], 4
je 0x407c29
inc eax
push eax
push edx
push 1
push ebx
push ecx
push dword [ebp - 0x24]
call edi
cmp dword [ebp - 0x20], ebx
je 0x407c40
mov eax, dword [esi]
inc eax
push eax
push dword [esi - 4]
push 1
push ebx
push dword [esi + 4]
push dword [ebp - 0x20]
call edi
add esi, 0x34
dec dword [ebp + 0xc]
jne 0x407bf9
cmp dword [ebp - 0x24], ebx
je 0x407c56
push dword [ebp - 0x24]
call dword [0x40b01c]
cmp dword [ebp - 0x20], ebx
je 0x407c64
push dword [ebp - 0x20]
call dword [0x40b01c]
xor eax, eax
jmp 0x407c92
push dword [ebp - 0x18]
mov esi, dword [0x40b168]
call esi
push dword [ebp - 4]
call esi
push dword [ebp - 0x30]
call dword [0x40b124]
cmp dword [ebp + 0x10], ebx
je 0x407c8f
push dword [ebp + 0x10]
call 0x40b6e2
pop ecx
push 0x12
pop eax
pop edi
pop esi
pop ebx
leave
ret