Function at 0x100051b0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x10005339
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10005339
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x14], 0
mov edx, dword [eax + ecx + 0x78]
mov eax, dword [eax + ecx + 0x7c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ebx, dword [edx + ecx + 0x14]
mov esi, dword [edx + ecx + 0x1c]
mov eax, dword [edx + ecx + 0x20]
mov edx, dword [edx + ecx + 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], esi
test ebx, ebx
je 0x10005339
add edx, ecx
mov dword [ebp - 0xc], edx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], edx
nop word [eax + eax]
mov eax, dword [edx]
add eax, ecx
mov dword [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.10001670
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x48]
mov esi, dword [ebp - 0x38]
lea edi, [ebp - 0x48]
cmovae ecx, ebx
mov dword [ebp - 0x10], ebx
cmovae edx, ebx
add esi, ecx
cmp dword [ebp - 0x34], 0x10
cmovae edi, ebx
cmp edi, esi
je 0x1000528b
sub edx, edi
mov ebx, edx
nop dword [eax]
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10005270
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov edi, 0x811c9dc5
movzx eax, word [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + ecx]
mov ecx, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
cmovae esi, ebx
cmp byte [esi + 1], 0
je 0x100052c7
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x100052c0
xor edx, edx
test ecx, ecx
je 0x100052e4
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100052d0
mov eax, dword [ebp - 0x34]
cmp edi, dword [ebp - 0x20]
je 0x10005342
cmp eax, 0x10
jb 0x10005319
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1000530f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055c9
push ecx
push ebx
call fcn.100041bb
add esp, 8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
inc eax
add dword [ebp - 0xc], 2
add edx, 4
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
cmp eax, dword [ebp - 0x24]
jb 0x10005220
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp esi, eax
jb 0x100055a4
add eax, dword [ebp - 0x30]
cmp esi, eax
ja 0x100055a4
mov edi, dword [ebp - 8]
xor dl, dl
add edi, esi
mov dword [ebp - 0x68], 0
mov ecx, edi
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
xor esi, esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
lea eax, [ecx + 1]
mov byte [ebp - 0x60], 0
mov byte [ebp - 1], dl
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005393
sub ecx, dword [ebp - 0x30]
je 0x100053de
nop
mov al, byte [edi + esi]
test dl, dl
jne 0x100053b7
cmp al, 0x2e
jne 0x100053b2
mov dl, 1
mov byte [ebp - 1], dl
jmp 0x100053c3
lea ecx, [ebp - 0x78]
jmp 0x100053ba
lea ecx, [ebp - 0x60]
push eax
call fcn.10001560
mov dl, byte [ebp - 1]
mov ecx, edi
inc esi
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100053d0
sub ecx, dword [ebp - 0x30]
cmp esi, ecx
jb 0x100053a0
cmp dword [ebp - 0x64], 0x10
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x78]
lea ecx, [ebp - 0x78]
mov esi, dword [ebp - 0x68]
lea edi, [ebp - 0x78]
cmovae eax, edx
cmovae ecx, edx
add esi, eax
cmp dword [ebp - 0x64], 0x10
cmovae edi, edx
cmp edi, esi
je 0x10005428
sub ecx, edi
mov ebx, ecx
nop dword [eax + eax]
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10005410
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
mov esi, dword [ebp - 0x50]
lea edi, [ebp - 0x60]
cmovae eax, edx
cmovae ecx, edx
add esi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
cmovae edi, edx
cmp edi, esi
je 0x10005472
sub ecx, edi
mov ebx, ecx
movsx eax, byte [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [edi + ebx], al
add esp, 4
inc edi
cmp edi, esi
jne 0x10005454
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
lea esi, [ebp - 0x60]
mov edi, 0x811c9dc5
mov ecx, 1
cmovae esi, edx
mov dword [ebp - 0x18], edi
cmp byte [esi + 1], 0
je 0x10005497
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10005490
xor edx, edx
test ecx, ecx
je 0x100054b4
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100054a0
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x64], 0x10
lea ecx, [ebp - 0x78]
mov edx, 0x811c9dc5
mov esi, 1
cmovae ecx, dword [ebp - 0x78]
cmp byte [ecx + 1], 0
je 0x100054d7
nop
inc esi
cmp byte [esi + ecx], 0
jne 0x100054d0
xor edi, edi
test esi, esi
je 0x100054f1
nop dword [eax]
movsx eax, byte [edi + ecx]
inc edi
xor eax, edx
imul edx, eax, 0x1000193
cmp edi, esi
jb 0x100054e0
mov ecx, edx
call fcn.100055f0
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.100051b0
mov esi, eax
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1000553a
mov ecx, dword [ebp - 0x60]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005530
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055c9
push edx
push ecx
call fcn.100041bb
add esp, 8
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x1000556c
mov ecx, dword [ebp - 0x78]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055c9
push edx
push ecx
call fcn.100041bb
add esp, 8
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x1000559b
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10005591
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055c9
push ecx
push ebx
call fcn.100041bb
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x100055d9
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100055cf
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100055cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push ebx
call fcn.100041bb
add esp, 8
test esi, esi
je 0x10005339
mov eax, dword [ebp - 8]
pop edi
add eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret