Function at 0x100177f0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d4b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x378
xorps xmm0, xmm0
mov dword [ebp - 0x1c], ecx
xor eax, eax
movlpd qword [ebp - 0x90], xmm0
push esi
movups xmmword [ebp - 0x88], xmm0
push edi
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
mov dword [ebp - 0x58], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [ecx]
mov eax, esi
or eax, dword [ecx + 4]
jne 0x10017884
mov esi, dword [ebx + 8]
mov dword [esi], 0xc00000ef
mov byte [esi + 0x48], al
jmp 0x10017d1d
mov eax, fcn.1004f1d0
xor edi, edi
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edi
push 0x40
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.1004c020
add esp, 0xc
lea eax, [ebp - 0x288]
push 0x108
push edi
push eax
call fcn.1004c020
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ecx + 4]
push edx
push 0x40
lea edx, [ebp - 0x180]
mov eax, dword [eax + 0x4c]
push edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [eax + 8]
push dword [edx + 4]
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov eax, 0x5a4d
cmp word [ebp - 0x180], ax
je 0x1001790f
mov esi, dword [ebx + 8]
mov dword [esi], 0xc000012f
mov byte [esi + 0x48], 0
jmp 0x10017d1d
mov eax, dword [ebp - 0x144]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebx + 0xc]
add esi, dword [eax]
mov ecx, esi
adc edx, dword [eax + 4]
or ecx, edx
je 0x10017953
mov ecx, dword [ebp - 0x1c]
lea edi, [ebp - 0x18]
push edi
push 0x108
lea edi, [ebp - 0x288]
mov eax, dword [ecx + 4]
push edi
push edx
push esi
mov eax, dword [eax + 0x4c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
xor edi, edi
cmp dword [ebp - 0x288], 0x4550
je 0x10017971
mov esi, dword [ebx + 8]
mov dword [esi], 0xc000007b
mov byte [esi + 0x48], 0
jmp 0x10017d1d
mov eax, dword [ebp - 0x270]
mov edx, 0x10b
mov ecx, dword [ebp - 0x200]
cmp ax, dx
cmove ecx, dword [ebp - 0x210]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x10017cff
mov ecx, dword [ebp - 0x1fc]
cmp ax, dx
cmove ecx, dword [ebp - 0x20c]
push ecx
mov dword [ebp - 0x28], ecx
call fcn.1004f273
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov eax, dword [ebx + 0xc]
mov ecx, 0
mov edx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
mov dword [ebp - 0xc4], edi
add edx, dword [eax]
movlpd qword [ebp - 0x18], xmm0
adc ecx, dword [eax + 4]
mov eax, edx
or eax, ecx
mov dword [ebp - 0x20], ecx
jne 0x100179ea
mov eax, 0xc0000141
jmp 0x10017a10
mov ecx, dword [ebp - 0x1c]
lea esi, [ebp - 0x18]
push esi
push dword [ebp - 0x28]
mov eax, dword [ecx + 4]
push edi
push dword [ebp - 0x20]
mov eax, dword [eax + 0x4c]
push edx
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, dword [ebp - 0x2c]
test eax, eax
jns 0x10017a22
mov esi, dword [ebx + 8]
mov dword [esi], eax
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 5
jmp 0x10017d10
cmp dword [ebp - 0x28], 0x28
mov edx, edi
ja 0x10017acd
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x18]
cmovbe ecx, dword [edi + 0x18]
imul eax, ecx, 0xff
add eax, dword [edi + 0x24]
sub eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x28], eax
call fcn.1004f273
add esp, 4
mov edi, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0xc4], edi
test esi, esi
je 0x10017a69
push esi
call fcn.1004f1d0
add esp, 4
mov eax, dword [ebp - 0x1c]
mov esi, 0
mov edx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0xc]
add edx, dword [eax]
mov dword [ebp - 0x2c], edx
adc esi, dword [eax + 4]
mov eax, edx
or eax, esi
jne 0x10017a9b
mov eax, 0xc0000141
jmp 0x10017abb
mov eax, dword [ecx + 0x4c]
lea edx, [ebp - 0x18]
push edx
push dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax + 8]
push edi
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, edi
test eax, eax
jns 0x10017acd
mov esi, dword [ebx + 8]
mov dword [esi], eax
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 7
jmp 0x10017d10
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + 0x24]
mov esi, dword [edx + 0x1c]
sub ecx, eax
add ecx, edx
sub esi, eax
mov dword [ebp - 0x2c], ecx
add esi, edx
mov ecx, dword [edx + 0x20]
sub ecx, eax
mov dword [ebp - 0x14], esi
add ecx, edx
xor esi, esi
mov dword [ebp - 0x30], ecx
cmp dword [edx + 0x14], esi
jbe 0x10017cff
nop dword [eax]
cmp dword [ebx + 0x10], 0xffff
ja 0x10017c9e
mov ecx, dword [edx + 0x10]
movzx eax, si
add ecx, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
movzx eax, ax
cmp eax, ecx
jne 0x10017cef
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0xc]
mov esi, dword [ecx + esi*4]
mov ecx, 0
add esi, dword [edx]
mov eax, dword [eax + 4]
adc ecx, dword [edx + 4]
mov edx, dword [edx]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
adc eax, 0
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], ecx
cmp ecx, eax
jb 0x10018105
ja 0x10017b6b
cmp esi, edx
jb 0x10018105
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov edx, dword [ebp - 0x28]
add edx, dword [ecx]
adc eax, dword [ecx + 4]
add edx, dword [ebp - 0x24]
adc eax, 0
cmp dword [ebp - 0x20], eax
ja 0x10018105
jb 0x10017b91
cmp esi, edx
ja 0x10018105
push 0xff
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.1004c020
mov eax, dword [ebp - 0x1c]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [eax + 4]
mov eax, esi
or eax, dword [ebp - 0x20]
je 0x10017bdc
mov eax, dword [ecx + 0x4c]
lea edx, [ebp - 0x18]
push edx
push 0xff
lea edx, [ebp - 0x388]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0xc0]
call fcn.1000fe40
push ecx
push 0x100995d0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.100186a0
mov edx, eax
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xb0], edx
lea eax, [ebp - 0xc0]
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 0
cmovb edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0xe0]
cmp dword [ebp - 0xac], 0xf
push edx
cmova eax, dword [ebp - 0xc0]
push eax
movups xmmword [ebp - 0xe0], xmm0
call fcn.1000fd50
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xcc]
mov eax, edx
mov ecx, dword [ebp - 0xd0]
sub eax, ecx
cmp eax, 4
jb 0x10017d47
lea eax, [ecx + 4]
cmp edx, 0xf
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
cmova eax, dword [ebp - 0xe0]
mov dword [eax + ecx], 0x6c6c642e
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0xe0]
jmp 0x10017d5e
cmp esi, dword [edx + 0x18]
jae 0x10018152
mov ecx, dword [ecx + esi*4]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
add ecx, edx
movzx eax, word [eax + esi*2]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10017ce0
test dl, dl
je 0x10017cdc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10017ce0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10017cc0
xor eax, eax
jmp 0x10017ce5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10017b26
mov edx, edi
mov eax, dword [ebp - 0x24]
inc esi
mov ecx, dword [ebp - 0x30]
cmp esi, dword [edx + 0x14]
jb 0x10017b00
mov esi, dword [ebx + 8]
mov dword [esi], 0xc0000225
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 0x15
test edi, edi
je 0x10017d1d
push edi
call fcn.1004f1d0
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.1000f9d0
lea ecx, [ebp - 0x88]
call fcn.10010ed0
mov eax, esi
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 0x10
push 4
push str..dll
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
push 4
call fcn.10014c30
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
movups xmmword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe8], xmm0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xe0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.1000f9d0
push ecx
push 0x100995d4
lea ecx, [ebp - 0xc0]
call fcn.100186a0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [eax + 1]
mov eax, dword [ebp - 0xb0]
cmp eax, edx
jb 0x10018168
sub eax, edx
or esi, 0xffffffff
cmp eax, esi
mov ecx, esi
cmovb ecx, eax
cmp dword [ebp - 0xac], 0xf
lea eax, [ebp - 0xc0]
cmova eax, dword [ebp - 0xc0]
push ecx
add eax, edx
lea ecx, [ebp - 0x4c]
push eax
call fcn.1000fd50
push ecx
lea edx, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xa8]
call fcn.1001f660
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0x94], 7
lea ecx, [ebp - 0x88]
push dword [ebp - 0x98]
cmova eax, dword [ebp - 0xa8]
push eax
mov byte [ebp - 0x56], 1
call fcn.100126f0
push ecx
push 0x100995d8
lea ecx, [ebp - 0x4c]
call fcn.100186a0
test eax, eax
sete byte [ebp - 0x55]
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x10017e90
cmp dword [ebp - 0x38], 0xf
cmova eax, dword [ebp - 0x4c]
inc eax
push eax
call fcn.1004fe9e
add esp, 4
mov word [ebp - 0x58], ax
jmp 0x10017ea4
cmp dword [ebp - 0x38], 0xf
lea ecx, [ebp - 0x70]
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
push eax
call fcn.10018840
push dword [ebx + 0x14]
xor eax, eax
mov ecx, 0x10b
cmp word [ebp - 0x270], cx
setne al
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100173c0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x34], 0
jne 0x10017ff0
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x138]
push eax
call fcn.10016630
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x120]
call fcn.1000f830
mov ax, word [ebp - 0x58]
mov word [ebp - 0x108], ax
movzx eax, byte [ebp - 0x56]
mov byte [ebp - 0x106], al
movzx eax, byte [ebp - 0x55]
mov byte [ebp - 0x105], al
mov eax, dword [ebx + 8]
mov dword [eax], 0x107
lea ecx, [eax + 8]
lea eax, [ebp - 0x140]
push eax
call fcn.10018170
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x120]
call fcn.1000f9d0
lea ecx, [ebp - 0x138]
call fcn.10010ed0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10017f99
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10017f99
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x10017f99
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
call fcn.10010ed0
lea ecx, [ebp - 0x4c]
call fcn.1000f9d0
lea ecx, [ebp - 0xf8]
call fcn.1000f9d0
lea ecx, [ebp - 0xc0]
call fcn.1000f9d0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x10017fd5
push edi
mov eax, fcn.1004f1d0
call eax
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.1000f9d0
lea ecx, [ebp - 0x88]
call fcn.10010ed0
mov eax, dword [ebx + 8]
jmp 0x10017d32
cmp byte [ebp - 0x55], 0
je 0x1001807c
cmp dword [ebp - 0x94], 7
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x1c]
cmova eax, dword [ebp - 0xa8]
push eax
movzx eax, word [ebp - 0x58]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 8]
call fcn.100177c0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1001804a
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x1001804a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x1001804a
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
call fcn.10010ed0
lea ecx, [ebp - 0x4c]
call fcn.1000f9d0
lea ecx, [ebp - 0xf8]
call fcn.1000f9d0
lea ecx, [ebp - 0xc0]
call fcn.1000f9d0
mov byte [ebp - 4], 0x12
jmp 0x10017fc6
cmp dword [ebp - 0x94], 7
lea ecx, [ebp - 0xa8]
lea eax, [ebp - 0x4c]
cmova ecx, dword [ebp - 0xa8]
cmp dword [ebp - 0x38], 0xf
push ecx
cmova eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 8]
call fcn.100177c0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x100180d3
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100180d3
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100180d3
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xa8]
call fcn.10010ed0
lea ecx, [ebp - 0x4c]
call fcn.1000f9d0
lea ecx, [ebp - 0xf8]
call fcn.1000f9d0
lea ecx, [ebp - 0xc0]
call fcn.1000f9d0
mov byte [ebp - 4], 0x13
jmp 0x10017fc6
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x140]
call fcn.10018170
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x140]
push eax
lea ecx, [esi + 8]
mov dword [esi], 0
call fcn.10018170
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x120]
call fcn.1000f9d0
lea ecx, [ebp - 0x138]
call fcn.10010ed0
mov byte [ebp - 4], 0x14
jmp 0x10017d10
mov esi, dword [ebx + 8]
mov dword [esi], 0xc0000225
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 8
jmp 0x10017d10
call fcn.1000f3f0
int3