Function at 0x100153af
Capabilities:
Hash data with crc32
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov edx, dword [esp + 0x5c]
xor ecx, ecx
inc ecx
test edx, edx
mov dword [esp + 0xc], ecx
je 0x100157e6
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x100157e6
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
jne 0x100157e6
mov ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [edx + eax + 0x78]
cmp dword [eax + edx + 0x18], 0
je 0x100157e6
mov ecx, dword [esp + 0x68]
lea esi, [eax + edx]
mov dword [esp + 0x14], esi
mov esi, dword [eax + edx + 0x1c]
add esi, edx
mov dword [esp + 0x30], esi
mov esi, dword [eax + edx + 0x24]
add esi, edx
mov dword [esp + 0x2c], esi
mov eax, dword [eax + edx + 0x20]
add eax, edx
mov dword [esp + 0x44], eax
mov eax, ecx
and eax, 0xf6cfa79e
or eax, 0x4841
and ecx, 0x9305861
xor ecx, eax
mov eax, ecx
xor eax, 0xf6cfefdf
mov dword [esp + 0x3c], eax
xor ecx, 0x9301020
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x64]
xor ebp, ebp
test eax, eax
mov ecx, 0
cmovg ecx, eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
add eax, 0xc
mov dword [esp + 0x34], eax
xor eax, eax
inc eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + ebx*4]
add ebx, edx
push ebx
call esi
mov edi, eax
cmp dword [0x1002d150], 0xa
jl 0x100154ac
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100154ac
push ebx
call esi
jmp 0x10015489
push edi
push ebx
push 0
call sub.NTDLL.dll_RtlComputeCrc32
cmp dword [0x1002d150], 0xa
jl 0x100154dc
mov ecx, dword [0x1002d154]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x100154dc
push edi
push ebx
push ebp
call sub.NTDLL.dll_RtlComputeCrc32
push edi
push ebx
push ebp
jmp 0x100154b0
cmp dword [esp + 0x64], 0
jle 0x1001551a
mov ecx, eax
xor ecx, 0xf6cfa79e
and ecx, dword [esp + 0x40]
xor eax, 0x9305861
and eax, dword [esp + 0x3c]
or eax, ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
cmp eax, dword [edi - 0xc]
je 0x10015527
add edi, 0x10
dec ecx
jne 0x1001550a
jmp 0x100157d8
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
jmp 0x100157d8
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + ebx*2]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + eax*4]
add ecx, edx
je 0x1001578d
cmp dword [esp + 0x14], ecx
ja 0x1001578d
mov eax, dword [esp + 0x28]
mov eax, dword [edx + eax + 0x7c]
add eax, dword [esp + 0x14]
cmp eax, ecx
jbe 0x1001578d
mov dword [esp + 8], ecx
push ecx
call dword [sym.imp.SHLWAPI.dll_StrDupA]
cmp dword [0x1002d150], 0xa
jl 0x10015593
mov edx, dword [0x1002d154]
lea ecx, [edx + 1]
imul ecx, edx
and ecx, 1
mov ebp, dword [esp + 8]
je 0x10015593
push ebp
mov ebx, dword [sym.imp.SHLWAPI.dll_StrDupA]
call ebx
push ebp
call ebx
jmp 0x10015567
test eax, eax
je 0x100156bc
push 0x2e
mov dword [esp + 4], eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x100156cb
mov ebx, eax
inc ebx
mov byte [eax], 0
cmp dword [0x1002d150], 0xa
mov ebp, 0
jl 0x1001560a
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
mov eax, ebx
and ecx, 1
je 0x1001560a
mov ebx, eax
mov word [eax], 0
cmp dword [0x1002d150], 0xa
jl 0x100155fa
lea eax, [ebx + 2]
mov ecx, dword [0x1002d154]
lea edx, [ecx + 1]
imul ecx, edx
and ecx, 1
jne 0x100155d6
mov byte [ebx + 2], 0
add ebx, 3
cmp dword [0x1002d150], 0xa
jge 0x100155c4
push dword [esp]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 4], eax
test eax, eax
jne 0x1001564c
jmp 0x10015626
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esp + 4], eax
cmp dword [0x1002d150], 0xa
jl 0x1001564c
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1001561d
cmp dword [esp + 4], 0
je 0x100156cd
push ebx
call esi
push eax
push ebx
push 0
call sub.NTDLL.dll_RtlComputeCrc32
xor eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
cmp dword [0x1002d150], 0xa
jl 0x100156d4
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100156d4
push ebx
call esi
push eax
push ebx
push ebp
call sub.NTDLL.dll_RtlComputeCrc32
push ebx
call esi
push eax
push ebx
push ebp
call sub.NTDLL.dll_RtlComputeCrc32
xor eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov ecx, dword [0x1002d154]
lea eax, [ecx + 1]
imul eax, ecx
and eax, 1
cmp dword [0x1002d150], 0xa
jl 0x10015653
test eax, eax
jne 0x10015680
jmp 0x10015653
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
jmp 0x100157d8
xor ebp, ebp
xor ebx, ebx
jmp 0x10015774
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
push dword [esp + 0x68]
push 0x10
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.100153af
add esp, 0x10
mov eax, dword [esp + 0x24]
cmp dword [0x1002d150], 0xa
mov dword [esp + 8], eax
jl 0x10015771
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
xor ebx, ebx
inc ebx
and ecx, 1
je 0x10015774
mov eax, dword [esp + 0x68]
push eax
mov eax, 0x10
push eax
lea eax, [esp + 0x20]
push eax
mov ebx, dword [esp + 0x10]
push ebx
call fcn.100153af
add esp, 0x10
push dword [esp + 0x68]
mov eax, 0x10
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.100153af
add esp, 0x10
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
cmp dword [0x1002d150], 0xa
jl 0x10015771
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1001571b
xor ebx, ebx
inc ebx
push dword [esp]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
je 0x100157d8
mov edx, ecx
mov dword [edi], ecx
cmp dword [0x1002d150], 0xa
jl 0x100157c7
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x100157c7
mov dword [edi], edx
cmp dword [0x1002d150], 0xa
jl 0x10015791
mov eax, dword [0x1002d154]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x100157aa
jmp 0x10015791
test edx, edx
mov eax, dword [esp + 0xc]
cmove eax, edx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x5c]
inc ebx
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax + 0x18]
jb 0x1001547c
mov eax, dword [esp + 0xc]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret