Function at 0x4099d0
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

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 0x8201b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], edx
mov edx, ecx
mov dword [ebp - 0x64], ecx
cmp dword [edx + 0x14], 8
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x70], ecx
jb 0x409a27
mov edx, dword [edx]
mov dword [ebp - 0x64], edx
xor edi, edi
mov esi, 7
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], esi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
movzx eax, word [edx]
test ax, ax
je 0x409a9a
mov ecx, eax
cmp cx, 0x5c
je 0x409a9a
cmp edi, esi
jae 0x409a6e
lea eax, [edi + 1]
cmp esi, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + edi*2], cx
xor ecx, ecx
mov word [eax + edi*2 + 2], cx
jmp 0x409a83
push ecx
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x50]
push 1
call fcn.00407fc0
mov edx, dword [ebp - 0x64]
movzx eax, word [edx + 2]
add edx, 2
mov esi, dword [ebp - 0x18]
mov ecx, eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x64], edx
test ax, ax
jne 0x409a47
mov eax, dword [0x181cbf4]
add edx, 2
mov ecx, dword [0x181cbf8]
mov dword [ebp - 0x5c], eax
sub ecx, eax
mov dword [ebp - 0x64], edx
mov eax, 0x2aaaaaab
imul ecx
mov dword [ebp - 0x48], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x4c], eax
je 0x409b1c
mov eax, dword [0x181cbf4]
xor ecx, ecx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x60], eax
jb 0x409ae2
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
cmp esi, 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
cmp edi, dword [eax + 0x10]
jne 0x409b0d
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
push edi
call fcn.0040e9d0
add esp, 4
test eax, eax
je 0x409b1c
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x48]
inc ecx
add eax, 0x18
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x5c], eax
cmp ecx, dword [ebp - 0x4c]
jne 0x409ad4
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x40a1e0
mov eax, dword [eax*4 + 0x8fbb28]
mov ecx, 0x209
cmp dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov eax, 0x109
cmove eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
mov edi, 0x811c9dc5
mov esi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x48], edi
xor edi, edi
mov dword [ebp - 0x4c], eax
lea edx, [ecx + esi]
inc ecx
shr ecx, 1
cmp esi, edx
cmova ecx, edi
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x409bb0
mov eax, dword [ebp - 0x48]
nop
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x409b90
or ecx, 0x20
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
add esi, 2
cmp edi, dword [ebp - 0x54]
jne 0x409b80
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x39794115
mov eax, dword [ebp - 0x4c]
je 0x409bb4
mov eax, dword [eax]
jmp 0x409b52
mov ecx, dword [0x181cb9c]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x5c], esi
test ecx, ecx
jne 0x409c67
test esi, esi
je 0x409c5f
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ecx
cmp ecx, esi
je 0x409c5f
xor eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x18], eax
je 0x409c5f
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x409c2d
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x409c13
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x409c06
cmp esi, 0xf0a608a6
je 0x409c41
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
inc eax
add edi, 4
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
je 0x409c5f
mov esi, dword [ebp - 0x5c]
jmp 0x409bf6
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov ecx, dword [ecx + eax*4]
add ecx, esi
jmp 0x409c61
xor ecx, ecx
mov dword [0x181cb9c], ecx
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x60]
or eax, 0x20000
push eax
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x50]
call ecx
test eax, eax
je 0x409dcb
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
mov edi, 0x811c9dc5
mov esi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x48], edi
xor edi, edi
mov dword [ebp - 0x4c], eax
lea edx, [ecx + esi]
inc ecx
shr ecx, 1
cmp esi, edx
cmova ecx, edi
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x409cf0
mov eax, dword [ebp - 0x48]
nop
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x409cd0
or ecx, 0x20
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
add esi, 2
cmp edi, dword [ebp - 0x54]
jne 0x409cc0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x39794115
mov eax, dword [ebp - 0x4c]
je 0x409cf4
mov eax, dword [eax]
jmp 0x409c92
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cb9c]
mov dword [ebp - 0x5c], esi
test eax, eax
jne 0x409da5
test esi, esi
je 0x409d9e
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, esi
je 0x409da0
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x18], eax
je 0x409d9e
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x409d6c
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x409d52
or eax, 0x20
mov cl, byte [edx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
test cl, cl
jne 0x409d45
cmp esi, 0xf0a608a6
je 0x409d80
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
inc eax
add edi, 4
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
je 0x409d9e
mov esi, dword [ebp - 0x5c]
jmp 0x409d35
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x409da0
xor eax, eax
mov dword [0x181cb9c], eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x60]
or ecx, 0x20019
push ecx
push 0
push dword [ebp - 0x64]
push dword [ebp - 0x50]
call eax
mov edi, eax
test edi, edi
je 0x409dcb
mov esi, dword [ebp - 0x18]
jmp 0x40a1e3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
mov edi, 0x811c9dc5
mov esi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x48], edi
xor edi, edi
mov dword [ebp - 0x50], eax
lea edx, [ecx + esi]
inc ecx
shr ecx, 1
cmp esi, edx
cmova ecx, edi
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x409e33
mov eax, dword [ebp - 0x48]
mov dl, byte [esi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x409e13
or ecx, 0x20
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
add esi, 2
cmp edi, dword [ebp - 0x54]
jne 0x409e03
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x39794115
mov eax, dword [ebp - 0x50]
je 0x409e37
mov eax, dword [eax]
jmp 0x409dd7
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cba0]
mov dword [ebp - 0x4c], esi
test eax, eax
jne 0x409ef0
test esi, esi
je 0x409ee9
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], ecx
cmp ecx, esi
je 0x409eeb
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x18], eax
je 0x409ee9
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x409eb7
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x409e9d
or eax, 0x20
mov cl, byte [edx]
xor esi, eax
imul esi, esi, 0x1000193
inc edx
test cl, cl
jne 0x409e90
cmp esi, 0x58377fcb
je 0x409ecb
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
inc eax
add edi, 4
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
je 0x409ee9
mov esi, dword [ebp - 0x4c]
jmp 0x409e80
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x409eeb
xor eax, eax
mov dword [0x181cba0], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0
push 0
push dword [ebp - 0x6c]
call eax
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
add eax, eax
push eax
call fcn.006d7c2d
mov ecx, dword [ebp - 0x68]
add esp, 4
cmp dword [ebp - 0x78], 0
mov edi, eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x5c], 0
jbe 0x40a14f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x2c]
mov esi, 0x811c9dc5
mov edi, dword [eax + 0x30]
and ecx, 0xfffffffe
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
lea edx, [ecx + edi]
inc ecx
shr ecx, 1
cmp edi, edx
cmova ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x409faf
mov eax, dword [ebp - 0x4c]
mov dl, byte [edi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x409f93
or ecx, 0x20
xor esi, ecx
inc eax
imul esi, esi, 0x1000193
add edi, 2
cmp eax, dword [ebp - 0x54]
jne 0x409f83
mov eax, dword [ebp - 0x50]
cmp esi, 0x39794115
je 0x409fb3
mov eax, dword [eax]
jmp 0x409f4d
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cba4]
mov dword [ebp - 0x4c], esi
test eax, eax
jne 0x40a070
test esi, esi
je 0x40a069
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add ecx, esi
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], ecx
cmp ecx, esi
je 0x40a06b
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x18], eax
je 0x40a069
mov edi, dword [ecx + 0x20]
add edi, esi
nop dword [eax + eax]
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40a037
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x40a01d
or eax, 0x20
mov cl, byte [edx]
xor esi, eax
imul esi, esi, 0x1000193
inc edx
test cl, cl
jne 0x40a010
cmp esi, 0xb0f362bf
je 0x40a04b
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
inc eax
add edi, 4
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
je 0x40a069
mov esi, dword [ebp - 0x4c]
jmp 0x40a000
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
add ecx, esi
add eax, esi
movzx eax, word [eax + edx*2]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x40a06b
xor eax, eax
mov dword [0x181cba4], eax
mov edi, dword [ebp - 0x60]
lea ecx, [ebp - 0x74]
mov esi, dword [ebp - 0x5c]
push 0
push 0
push 0
push 0
push ecx
push edi
push esi
push dword [ebp - 0x6c]
call eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x74], ecx
test eax, eax
jne 0x40a1d0
mov ecx, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a0b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.0040ea60
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x40a0fa
movups xmm0, xmmword [ebp - 0x44]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x44], ax
jmp 0x40a107
lea edx, [ebp - 0x44]
push edx
push eax
call fcn.0040c080
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40a142
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a138
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a356
push edx
push ecx
call fcn.005c24d6
add esp, 8
inc esi
mov dword [ebp - 0x5c], esi
cmp esi, dword [ebp - 0x78]
jb 0x409f41
test edi, edi
je 0x40a15c
push edi
call fcn.006d7710
add esp, 4
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
mov esi, 0x811c9dc5
mov edi, dword [eax + 0x30]
and edx, 0xfffffffe
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
lea ecx, [edx + edi]
inc edx
shr edx, 1
cmp edi, ecx
cmova edx, dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
test edx, edx
je 0x40a1cc
mov eax, dword [ebp - 0x4c]
nop
mov dl, byte [edi]
lea ecx, [edx - 0x41]
cmp cl, 0x19
movsx ecx, dl
ja 0x40a1b0
or ecx, 0x20
xor esi, ecx
inc eax
imul esi, esi, 0x1000193
add edi, 2
cmp eax, dword [ebp - 0x54]
jne 0x40a1a0
mov eax, dword [ebp - 0x50]
cmp esi, 0x39794115
je 0x40a21d
mov eax, dword [eax]
jmp 0x40a168
test edi, edi
je 0x40a1dd
push edi
call fcn.006d7710
add esp, 4
mov esi, dword [ebp - 0x18]
or edi, 0xffffffff
cmp esi, 8
jb 0x40a336
mov ecx, dword [ebp - 0x2c]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x40a32c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a356
jmp 0x40a32c
mov esi, dword [eax + 0x18]
mov eax, dword [0x181cbc0]
mov dword [ebp - 0x4c], esi
test eax, eax
jne 0x40a2c9
test esi, esi
je 0x40a2c2
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + esi + 0x78]
xor eax, eax
add ecx, esi
mov dword [ebp - 0x50], ecx
cmp ecx, esi
je 0x40a2c4
mov dword [ebp - 0x48], eax
cmp dword [ecx + 0x18], eax
je 0x40a2c2
mov edi, dword [ecx + 0x20]
add edi, esi
mov edx, dword [edi]
add edx, esi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x40a28e
lea eax, [ecx - 0x41]
cmp al, 0x19
movsx eax, cl
ja 0x40a274
or eax, 0x20
mov cl, byte [edx]
xor esi, eax
imul esi, esi, 0x1000193
inc edx
test cl, cl
jne 0x40a267
cmp esi, 0x6b36a56a
je 0x40a2a2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
inc eax
add edi, 4
mov dword [ebp - 0x48], eax
cmp eax, dword [ecx + 0x18]
je 0x40a2c2
mov esi, dword [ebp - 0x4c]
jmp 0x40a257
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x4c]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x40a2c4
xor eax, eax
mov dword [0x181cbc0], eax
push dword [ebp - 0x6c]
call eax
test eax, eax
jne 0x40a1dd
mov eax, dword [ebp - 0x70]
xor edi, edi
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40a322
xor esi, esi
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
add ecx, esi
call fcn.00409910
mov eax, dword [ebp - 0x70]
inc edi
add esi, 0x18
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jne 0x40a2f5
mov esi, dword [ebp - 0x18]
xor edi, edi
jmp 0x40a1e3
push esi
push ecx
call fcn.005c24d6
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.006d1429
int3