Function at 0x10037250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x10415990]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov ecx, str.0.01
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100372a0
test dl, dl
je 0x1003729c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100372a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037280
xor eax, eax
jmp 0x100372a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10037397
cmp byte [ebx + 2], al
lea esi, [ebx + 2]
je 0x1003731a
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x10377f58
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10037316
push 3
push 0x10295310
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10037316
push 3
push 0x1029530c
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10037316
push 3
push 0x10295330
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10037316
push 0x40
lea ecx, [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
mov edi, dword [esp + 0x20]
add esp, 0xc
jmp 0x10037357
mov edi, dword [esp + 0x14]
cmp byte [ebx + 0x23], 0
lea edx, [ebx + 0x23]
je 0x10037331
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037328
jmp 0x10037347
cmp byte [ebx + 0x4d], 0
lea edx, [ebx + 0x4d]
je 0x1003737d
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037340
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.100692f0
add esp, 8
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, edi
call fcn.10036d70
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, 0x10377fd4
mov eax, esi
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100373c0
test dl, dl
je 0x100373bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100373c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100373a0
xor eax, eax
jmp 0x100373c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1003743b
cmp byte [ebx + 2], al
lea esi, [ebx + 2]
je 0x100373ea
push 3
push 0x10377f58
push esi
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100373ea
mov edx, esi
jmp 0x100373fc
cmp byte [ebx + 0x23], 0
lea edx, [ebx + 0x23]
jne 0x100373fc
cmp byte [ebx + 0x4d], 0
lea edx, [ebx + 0x4d]
je 0x1003737d
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037401
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.100692f0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.10036d70
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, 0x10377ebc
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10037462
test dl, dl
je 0x1003745e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10037462
add eax, 2
add ecx, 2
test dl, dl
jne 0x10037442
xor eax, eax
jmp 0x10037467
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10037518
lea edi, [ebx + 2]
xor esi, esi
cmp byte [edi], 0
je 0x1003748e
push 3
push 0x10377f58
push edi
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x100374a0
cmp byte [ebx + 0x23], 0
lea edi, [ebx + 0x23]
jne 0x100374a0
cmp byte [ebx + 0x4d], 0
lea edi, [ebx + 0x4d]
je 0x100374fe
add ebx, 0x5c
cmp byte [ebx], 0
jne 0x100374c5
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100374b0
sub eax, edx
push eax
push edi
mov ecx, ebx
call fcn.100692f0
add esp, 8
mov ecx, dword [esp + 0x14]
cmp dword [ecx], esi
jbe 0x100374de
lea ecx, [ecx]
mov dl, byte [edi]
mov eax, dword [esp + 0x10]
xor byte [eax + esi], dl
inc esi
cmp esi, dword [ecx]
jb 0x100374d0
mov eax, dword [esp + 0x10]
push ebx
push eax
call fcn.10036eb0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015eea7
mov esp, ebp
pop ebp
ret