Function at 0x49d760
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
je 0x49d98f
mov dword [esp], eax
call fcn.0041dbd0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0041dd50
test eax, eax
mov ebp, eax
je 0x49d98b
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x78]
add ebx, dword [eax + 4]
add ebx, 4
cmp ebx, dword [ebp + 8]
jg 0x49d977
xor eax, eax
test ebx, ebx
mov dword [ebp + 4], ebx
jle 0x49d7d1
mov edx, dword [ebp]
mov dword [edx + eax*4], 0
add eax, 1
cmp eax, ebx
jne 0x49d7c0
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + 4]
test ebx, ebx
jle 0x49d921
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 4]
mov eax, ecx
mov edi, dword [esp + 0x78]
mov dword [esp + 0x24], 0
mov edx, dword [edi]
mov edi, dword [esp + 0x20]
mov ecx, dword [edx + edi*4]
lea esi, [edi*4]
mov dword [esp + 0x28], ecx
lea ecx, [edi + 1]
cmp ebx, ecx
je 0x49d820
mov edi, dword [edx + esi + 4]
mov dword [esp + 0x24], edi
test eax, eax
jle 0x49d912
mov edi, dword [esp + 0x24]
xor ebx, ebx
xor edi, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x74]
lea ecx, [ebx + 1]
xor esi, esi
cmp ecx, eax
mov edx, dword [edi]
lea edi, [ebx*4]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + ebx*4]
je 0x49d85b
mov eax, dword [esp + 0x1c]
mov esi, dword [edx + eax + 4]
mov eax, dword [esp + 0x24]
mov ecx, esi
xor esi, edi
lea edx, [esp + 0x48]
mov dword [esp], eax
lea eax, [esp + 0x4c]
call fcn.0049d060
mov eax, dword [esp + 0x28]
mov ecx, edi
lea edx, [esp + 0x40]
mov dword [esp], eax
lea eax, [esp + 0x44]
call fcn.0049d060
mov eax, dword [esp + 0x2c]
mov ecx, esi
lea edx, [esp + 0x3c]
mov dword [esp], eax
lea eax, [esp + 0x38]
call fcn.0049d060
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
xor eax, edx
xor edx, esi
xor eax, esi
xor edx, ecx
xor edx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
xor edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], edx
lea esi, [eax + ebx]
xor eax, eax
shl esi, 2
lea edx, [eax + esi]
add eax, 4
add edx, dword [ebp]
xor dword [edx], ecx
cmp eax, 0x10
je 0x49d8f9
lea edx, [eax + esi]
mov ecx, dword [esp + eax + 0x40]
add eax, 4
add edx, dword [ebp]
xor dword [edx], ecx
cmp eax, 0x10
jne 0x49d8e5
mov eax, dword [esp + 0x74]
add ebx, 2
mov eax, dword [eax + 4]
cmp eax, ebx
jg 0x49d836
mov edi, dword [esp + 0x78]
mov ebx, dword [edi + 4]
add dword [esp + 0x20], 2
cmp ebx, dword [esp + 0x20]
jg 0x49d7f1
mov eax, dword [ebp + 4]
test eax, eax
jle 0x49d93f
mov edi, dword [ebp]
lea edx, [edi - 4]
jmp 0x49d935
sub eax, 1
je 0x49d93c
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x49d930
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0049d310
test eax, eax
setne bl
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0041dcd0
add esp, 0x5c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0041e320
test eax, eax
jne 0x49d7b7
xor ebx, ebx
jmp 0x49d95e
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0049d5c0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret