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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [0x101e22e8]
mov dword [ebp - 8], ebx
push esi
push edi
test ebx, ebx
je 0x1004acae
mov dword [ebp - 0xc], 1
test ebx, ebx
je 0x1004acae
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + ebx + 0x78]
mov ecx, dword [ecx + ebx + 0x7c]
mov dword [ebp - 0x1c], ecx
lea ecx, [edx + ebx]
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
je 0x1004ac28
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1004ac28
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
mov edi, dword [ecx - 4]
sub ecx, 4
add edi, ebx
mov dword [ebp - 0x10], ecx
dec edx
mov ebx, 0xa79cbf3f
mov dword [ebp - 4], edx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x1004ac1e
nop dword [eax]
movsx esi, cl
lea edi, [edi + 1]
sub cl, 0x41
mov edx, esi
or edx, 0x20
cmp cl, 0x19
mov cl, byte [edi - 1]
cmova edx, esi
xor edx, ebx
imul ebx, edx, 0x1000193
test cl, cl
jne 0x1004abf0
mov edx, dword [ebp - 4]
cmp ebx, 0xe41c86d6
je 0x1004ac2f
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x1004abd2
mov eax, dword [eax]
jmp 0x1004aba5
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 8]
push 0x1c
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]
lea ecx, [ebp - 0x40]
push ecx
add eax, esi
push ebx
call eax
test eax, eax
je 0x1004acae
mov eax, dword [ebp - 0x2c]
test al, 1
jne 0x1004acae
test eax, 0x100
jne 0x1004acae
sub dword [ebp - 0xc], 1
mov ebx, dword [ebx]
mov dword [ebp - 8], ebx
jne 0x1004ab91
test ebx, ebx
je 0x1004acae
mov ecx, 1
mov eax, ecx
cmp byte [ebx + eax], 0
je 0x1004ac8f
inc eax
inc ecx
cmp eax, 0x80
jl 0x1004ac80
mov eax, 0x1f
sub eax, ecx
cmp eax, 0x20
jle 0x1004aca2
mov eax, 0x20
jmp 0x1004acb3
mov ecx, 3
cmp eax, ecx
cmovl eax, ecx
jmp 0x1004acb3
mov eax, 3
push 0x14
push eax
mov dword [0x101e1d08], eax
call fcn.1011b064
xor ecx, ecx
mov dword [0x101e24d0], eax
add esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x101e1d08], ecx
jbe 0x1004ae08
xor edx, edx
mov dword [ebp - 4], edx
nop
lea ebx, [edx + eax]
mov dword [ebx + 0xc], ecx
push 0x18
mov dword [ebp - 0x1c], ebx
call fcn.100b560b
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 4], esi
mov dword [ebx + 8], 0x101e1ef0
mov eax, dword [0x101e26e0]
test eax, eax
jne 0x1004adc2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ecx + ebx + 0x78]
add ecx, ebx
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
je 0x1004ad98
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x1004ad98
mov ecx, dword [ecx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, ebx
mov esi, dword [ecx - 4]
sub ecx, 4
add esi, ebx
mov dword [ebp - 0x18], ecx
dec edx
mov edi, 0xa08b6b19
mov dword [ebp - 0xc], edx
mov bl, byte [esi]
inc esi
test bl, bl
je 0x1004ad91
movsx edx, bl
lea esi, [esi + 1]
sub bl, 0x41
mov ecx, edx
or ecx, 0x20
cmp bl, 0x19
mov bl, byte [esi - 1]
cmova ecx, edx
xor ecx, edi
imul edi, ecx, 0x1000193
test bl, bl
jne 0x1004ad60
cmp edi, 0xc54c18fd
je 0x1004ad9c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [eax + 0x18]
test edx, edx
jne 0x1004ad45
mov eax, dword [eax]
jmp 0x1004ad20
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
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
mov dword [0x101e26e0], eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push ebx
push 0x1004aa30
push 0
push 0
call eax
push 4
call fcn.1011a64f
mov ecx, dword [ebp - 0x24]
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebx + 0x10], eax
add edx, 0x14
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
cmp ecx, dword [0x101e1d08]
jae 0x1004ae08
mov eax, dword [0x101e24d0]
jmp 0x1004ace0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret