Function at 0x416a90
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x465cc4
push eax
mov dword fs:[0], esp
mov eax, 0x1148
push ebx
call fcn.00464a40
push esi
push edi
push 0x30
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x1c], ecx
push 0
push eax
mov dword [ebp - 0x20], 0
call fcn.00445960
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esi, dword [ebp - 0x24]
mov eax, 1
mov edi, dword [ebp - 0x28]
mov ecx, 0x10000
mov dword [ebp - 4], 0
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x24]
push edx
push ecx
mov ecx, dword [ebp - 0x1c]
call eax
cmp eax, 0xc000000d
je 0x41704d
cmp eax, 0xc0000022
je 0x41704d
cmp eax, 0xc000010a
je 0x41704d
test eax, eax
jne 0x41701b
cmp dword [ebp - 0xb0], 0x1000
jne 0x41701b
mov eax, dword [ebp - 0xc0]
cmp eax, 1
je 0x41701b
test eax, 0x100
jne 0x41701b
mov ecx, dword [ebp - 0xc4]
cmp edi, dword [ebp - 0xc8]
jne 0x416bb6
cmp esi, ecx
je 0x41701b
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 7
movups xmmword [ebp - 0x78], xmm0
mov word [ebp - 0x78], ax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x1158]
push 0
mov dword [ebp - 4], 1
push 0x1000
mov eax, dword [eax]
push edx
mov edx, dword [ebp - 0xc8]
push ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
push edx
call eax
test eax, eax
jne 0x41700f
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1158]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1158], cx
jne 0x41700f
cmp dword [eax], 0x4550
jne 0x41700f
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x416c58
mov dword [ebp - 0x44], 0
jmp 0x416c69
mov edx, 0x20b
cmp cx, dx
jne 0x416c6f
mov dword [ebp - 0x44], 1
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x1158]
mov ecx, dword [ebp - 0xc4]
xorps xmm0, xmm0
mov edx, dword [ebp - 0xc8]
push 0x1000
mov eax, dword [esi]
push edi
push 2
push ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x7c], ecx
mov ecx, esi
push edx
mov dword [ebp - 0x80], edx
movlpd qword [ebp - 0x40], xmm0
mov byte [ebp - 0x38], 0
call eax
test eax, eax
jne 0x416f18
sub esp, 0x18
xorps xmm0, xmm0
cmp byte [esi + 0xe], 1
mov edx, esp
jne 0x416ce0
mov esi, dword [ebp - 0x1154]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416cd3
jmp 0x416d0b
mov esi, dword [ebp - 0x1150]
mov ecx, esi
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416d00
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00405e90
lea ecx, [ebp - 0x98]
call fcn.0040f390
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x60]
cmp eax, esi
je 0x416d97
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x416d69
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416d5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41706a
push ecx
push edx
call fcn.004418b1
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], eax
mov word [ebp - 0x60], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x84]
cmp ecx, 8
jb 0x416dd7
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416dcd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41706a
push ecx
push edx
call fcn.004418b1
add esp, 8
mov edx, dword [ebp - 0x50]
test edx, edx
jne 0x416df8
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x98]
call fcn.00404d00
mov eax, dword [ebp - 0x18]
or eax, 2
jmp 0x416ebe
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
mov edi, dword [ebp - 0x60]
lea eax, [edx - 1]
cmovae ecx, edi
setae byte [ebp - 0x11]
or esi, 0xffffffff
cmp eax, esi
cmovb esi, eax
cmp word [ecx + esi*2], 0x5c
lea eax, [ecx + esi*2]
je 0x416e2d
nop
cmp eax, ecx
je 0x416e36
sub eax, 2
cmp word [eax], 0x5c
jne 0x416e20
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x416e6a
cmp byte [ebp - 0x11], 0
lea ecx, [ebp - 0x60]
cmovne ecx, edi
cmp word [ecx + esi*2], 0x2f
lea eax, [ecx + esi*2]
je 0x416e5d
nop word [eax + eax]
cmp eax, ecx
je 0x416dde
sub eax, 2
cmp word [eax], 0x2f
jne 0x416e50
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x416dde
lea esi, [eax + 1]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x98], xmm0
cmp edx, esi
jb 0x417065
sub edx, esi
lea eax, [ebp - 0x60]
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x98]
lea eax, [eax + esi*2]
push eax
call fcn.00405e90
mov eax, dword [ebp - 0x18]
or eax, 6
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
cmp ecx, 8
jb 0x416efe
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416ef4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41706a
push ecx
push edx
call fcn.004418b1
add esp, 8
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [ebp - 0x68], xmm0
jmp 0x416f86
push 0x80
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00445960
push dword [ebp - 0x7c]
lea eax, [ebp - 0x158]
push dword [ebp - 0x80]
push str.Unknown_0x_I64x
push eax
call dword [ebp - 0x9c]
lea ecx, [ebp - 0x158]
add esp, 0x1c
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416f50
sub ecx, edx
lea eax, [ebp - 0x158]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004050c0
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
push eax
call fcn.004050c0
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0xd8]
call fcn.00405710
mov edx, eax
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x416fcf
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov dword [edx], 0
mov dword [edx + 4], 0
add dword [esi + 4], 8
jmp 0x416fd8
push edx
push ecx
mov ecx, esi
call fcn.00417a40
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x417003
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x417003
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x417003
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xc4]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.00404020
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xb4]
adc edx, dword [ebp - 0xcc]
cmp edx, 0x7fff
ja 0x41704d
jb 0x416b31
cmp ecx, 0xfffeffff
jb 0x416b31
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004054a0
call fcn.00449a39
int3