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

Disassembly:
sub esp, 0xf8
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x104]
push esi
push edi
mov edi, dword [esp + 0x110]
mov ebx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov eax, ebp
mov esi, edi
mov ecx, dword [eax]
inc dword [esp + ecx*4 + 0x48]
lea ecx, [esp + ecx*4 + 0x48]
add eax, 4
dec esi
jne 0x49f7d6
cmp dword [esp + 0x48], edi
jne 0x49f804
mov eax, dword [esp + 0x120]
mov dword [eax], edx
mov dword [ebx], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov edi, dword [ebx]
mov dword [esp + 0x10], edi
mov ecx, 1
nop
cmp dword [esp + ecx*4 + 0x48], edx
jne 0x49f81c
inc ecx
cmp ecx, 0xf
jbe 0x49f810
mov dword [esp + 0x14], ecx
cmp edi, ecx
jae 0x49f82a
mov dword [esp + 0x10], ecx
mov edi, ecx
mov eax, 0xf
nop
cmp dword [esp + eax*4 + 0x48], edx
jne 0x49f839
dec eax
jne 0x49f830
mov dword [esp + 0x3c], eax
cmp edi, eax
jbe 0x49f847
mov dword [esp + 0x10], eax
mov edi, eax
mov esi, 1
shl esi, cl
mov dword [ebx], edi
cmp ecx, eax
jae 0x49f865
sub esi, dword [esp + ecx*4 + 0x48]
js 0x49f949
inc ecx
add esi, esi
cmp ecx, eax
jb 0x49f854
lea ecx, [eax*4]
lea ebx, [esp + ecx + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx]
sub esi, ecx
mov dword [esp + 0x40], esi
js 0x49f949
add ecx, esi
mov dword [ebx], ecx
xor ecx, ecx
dec eax
mov dword [esp + 0x8c], edx
je 0x49f8a5
xor esi, esi
add ecx, dword [esp + esi + 0x4c]
add esi, 4
dec eax
mov dword [esp + esi + 0x8c], ecx
jne 0x49f894
mov ebx, ebp
xor esi, esi
lea esp, [esp]
mov eax, dword [ebx]
add ebx, 4
cmp eax, edx
je 0x49f8d5
mov ecx, dword [esp + eax*4 + 0x88]
mov ebp, dword [esp + 0x12c]
lea eax, [esp + eax*4 + 0x88]
mov dword [ebp + ecx*4], esi
inc ecx
mov dword [eax], ecx
inc esi
cmp esi, dword [esp + 0x110]
jb 0x49f8b0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + ecx + 0x88]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov ebx, edi
or ebp, 0xffffffff
neg ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0xcc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
cmp ecx, eax
jg 0x49fbb2
mov esi, dword [esp + 0x2c]
lea ecx, [esp + ecx*4 + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
cmp ecx, edx
je 0x49fb9f
jmp 0x49f964
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov ecx, dword [esp + 0x30]
dec ecx
lea eax, [ebx + edi]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x14], eax
jle 0x49fa81
inc ecx
sub ebx, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], ebx
jmp 0x49f987
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x38], edi
mov ebx, eax
mov eax, dword [esp + 0x10]
inc ebp
sub edx, ebx
mov dword [esp + 0x18], ebp
cmp edx, eax
jbe 0x49f9a2
mov edx, eax
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x49f9e7
mov ebp, dword [esp + 0x24]
or edi, 0xffffffff
sub edi, dword [esp + 0x30]
add eax, edi
cmp ecx, edx
jae 0x49f9e3
inc ecx
cmp ecx, edx
jae 0x49f9e3
jmp 0x49f9d0
mov edi, dword [ebp + 4]
add ebp, 4
add eax, eax
cmp eax, edi
jbe 0x49f9e3
inc ecx
sub eax, edi
cmp ecx, edx
jb 0x49f9d0
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x128]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], edx
add edx, eax
cmp edx, 0x5a0
ja 0x49f949
mov edi, dword [esp + 0x124]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x20], edi
mov dword [esp + ebp*4 + 0xcc], edi
mov dword [eax], edx
test ebp, ebp
je 0x49fa67
mov esi, dword [esp + 0x1c]
mov dl, byte [esp + 0x10]
mov eax, esi
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x38]
mov dword [esp + ebp*4 + 0x88], esi
shr eax, cl
mov ecx, dword [esp + ebp*4 + 0xc8]
mov esi, edi
sub esi, ecx
mov byte [esp + 0x29], dl
mov edx, dword [esp + 0x28]
sar esi, 3
sub esi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
jmp 0x49fa70
mov eax, dword [esp + 0x120]
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
lea eax, [ebx + ecx]
cmp dword [esp + 0x14], eax
jg 0x49f983
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x12c]
mov edi, dword [esp + 0x34]
mov al, dl
sub al, bl
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x110]
lea ecx, [ecx + eax*4]
cmp edi, ecx
jb 0x49faad
mov byte [esp + 0x28], 0xc0
jmp 0x49faf7
mov eax, dword [edi]
mov ecx, dword [esp + 0x114]
cmp eax, ecx
jae 0x49facf
cmp eax, 0x100
sbb cl, cl
and cl, 0xa0
add cl, 0x60
mov byte [esp + 0x28], cl
mov esi, eax
jmp 0x49faf0
sub eax, ecx
mov ecx, dword [esp + 0x11c]
add eax, eax
add eax, eax
mov cl, byte [eax + ecx]
add cl, 0x50
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x118]
mov esi, dword [eax + ecx]
add edi, 4
mov dword [esp + 0x34], edi
mov ecx, edx
mov edx, dword [esp + 0x1c]
sub ecx, ebx
mov edi, 1
shl edi, cl
mov eax, edx
mov ecx, ebx
shr eax, cl
cmp eax, dword [esp + 0x18]
jae 0x49fb37
mov edx, dword [esp + 0x20]
lea ecx, [edx + eax*8]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
lea edx, [edi*8]
mov dword [ecx + 4], esi
add eax, edi
add ecx, edx
cmp eax, dword [esp + 0x18]
jb 0x49fb19
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, 1
shl eax, cl
test edx, eax
je 0x49fb4f
xor edx, eax
shr eax, 1
test edx, eax
jne 0x49fb47
xor edx, eax
mov eax, 1
mov ecx, ebx
shl eax, cl
mov dword [esp + 0x1c], edx
dec eax
and eax, edx
cmp eax, dword [esp + ebp*4 + 0x88]
je 0x49fb8a
lea ebx, [ebx]
sub ebx, dword [esp + 0x10]
mov eax, 1
mov ecx, ebx
shl eax, cl
dec ebp
dec eax
and eax, edx
cmp eax, dword [esp + ebp*4 + 0x88]
jne 0x49fb70
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x10]
jne 0x49f960
mov eax, dword [esp + 0x3c]
xor edx, edx
inc dword [esp + 0x14]
add dword [esp + 0x24], 4
cmp dword [esp + 0x14], eax
jle 0x49f939
cmp dword [esp + 0x40], edx
je 0x49f7f7
cmp eax, 1
je 0x49f7f7
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0xf8
ret