Function at 0x499050
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], ebx
mov al, byte [ebx + 0x58]
test al, al
je 0x499335
mov eax, dword [ebx + 0xa4]
push eax
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
mov cl, 1
lea eax, [ebx + 0x59]
xchg byte [eax], cl
mov eax, dword [ebx + 0xa0]
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x1c], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor esi, esi
mov edi, dword [eax + 0x30]
xor ebx, ebx
shr edx, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0x811c9dc5
lea ecx, [edi + edx*2]
cmp edi, ecx
cmova edx, esi
mov dword [ebp - 0x10], edx
test edx, edx
je 0x4990f9
mov eax, edx
mov dl, byte [edi]
lea edi, [edi + 2]
movsx esi, dl
sub dl, 0x41
mov ecx, esi
or ecx, 0x20
cmp dl, 0x19
cmova ecx, esi
inc ebx
xor ecx, dword [ebp - 4]
imul ecx, ecx, 0x1000193
mov dword [ebp - 4], ecx
cmp ebx, eax
jne 0x4990c7
mov eax, dword [ebp - 0xc]
cmp ecx, 0xa3e6f6c3
je 0x4990fd
mov eax, dword [eax]
jmp 0x49909f
mov ebx, dword [eax + 0x18]
mov eax, dword [0x67f474]
mov dword [ebp - 0xc], ebx
test eax, eax
jne 0x4991bf
test ebx, ebx
je 0x4991b8
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x14], edx
cmp edx, ebx
je 0x4991ba
mov ecx, dword [edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4991b8
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x499188
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x499157
cmp esi, 0x93fae264
je 0x499198
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
inc eax
add edi, 4
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4991b8
mov ebx, dword [ebp - 0xc]
jmp 0x499147
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
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 0x4991ba
xor eax, eax
mov dword [0x67f474], eax
push dword [ebp + 8]
push dword [ebp - 0x1c]
call eax
mov esi, dword [ebp - 8]
test eax, eax
je 0x4991e7
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x4991e7
mov eax, dword [esi + 0xa8]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor esi, esi
mov edi, dword [eax + 0x30]
xor ebx, ebx
shr edx, 1
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], 0x811c9dc5
lea ecx, [edi + edx*2]
cmp edi, ecx
cmova edx, esi
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x499256
mov eax, edx
mov dl, byte [edi]
lea edi, [edi + 2]
movsx esi, dl
sub dl, 0x41
mov ecx, esi
or ecx, 0x20
cmp dl, 0x19
cmova ecx, esi
inc ebx
xor ecx, dword [ebp + 8]
imul ecx, ecx, 0x1000193
mov dword [ebp + 8], ecx
cmp ebx, eax
jne 0x499224
mov eax, dword [ebp - 0xc]
cmp ecx, 0xa3e6f6c3
je 0x49925a
mov eax, dword [eax]
jmp 0x4991fc
mov ebx, dword [eax + 0x18]
mov eax, dword [0x67f480]
mov dword [ebp - 0xc], ebx
test eax, eax
jne 0x49931c
test ebx, ebx
je 0x499315
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], edx
cmp edx, ebx
je 0x499317
mov ecx, dword [edx + 0x18]
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x499315
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x4992e5
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x4992b4
cmp esi, 0x8285aca5
je 0x4992f5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
inc eax
add edi, 4
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x499315
mov ebx, dword [ebp - 0xc]
jmp 0x4992a4
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
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 0x499317
xor eax, eax
mov dword [0x67f480], eax
push dword [ebp - 0x10]
call eax
mov edx, dword [ebp - 8]
xor eax, eax
lea ecx, [edx + 0xa8]
xchg dword [ecx], eax
mov ecx, edx
call fcn.0049b8f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4