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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa8
mov ebp, dword [esp + 0xd0]
mov ebx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
push esi
call fcn.005dff80
add esp, 4
test eax, eax
je 0x5dc621
cmp dword [esi + 4], 0x1fffff
jg 0x5dc652
push 4
push dword [esp + 0x20]
call fcn.005dec20
add esp, 8
test eax, eax
jne 0x5dc612
push 4
push edi
call fcn.005dec20
add esp, 8
test eax, eax
jne 0x5dc612
push 4
push esi
call fcn.005dec20
add esp, 8
test eax, eax
je 0x5dc652
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.005dcf20
call fcn.0060c3a0
push 0xf12874
push 0x148
push 0xf1284a
call fcn.0060c4a0
add esp, 0xc
push 0
push 0x66
push 3
call fcn.0060c590
add esp, 0xc
xor ebx, ebx
jmp 0x5dcaa9
push dword [esp + 0x1c]
call fcn.005dea10
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x5dc6ee
mov dword [esp + 4], ebp
push ebx
call fcn.005db480
add esp, 4
push ebx
call fcn.005db630
add esp, 4
mov dword [esp + 0x14], eax
push ebx
call fcn.005db630
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
push ebx
call fcn.005db630
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x5dc713
mov ebp, eax
mov eax, dword [esp + 4]
mov ecx, eax
test eax, eax
je 0x5dc728
mov dword [esp], ecx
cmp dword [edi + 0xc], 0
jne 0x5dc6cd
push esi
push edi
call fcn.005df810
add esp, 8
test eax, eax
js 0x5dc773
mov ebx, dword [esp + 8]
push ebx
push esi
push edi
push ebp
call fcn.005e0120
add esp, 0x10
mov edi, ebp
test eax, eax
jne 0x5dc777
xor ebx, ebx
jmp 0x5dca89
push 1
push esi
call fcn.005dfe90
add esp, 8
test eax, eax
je 0x5dc756
push dword [esp + 0x20]
call fcn.005dfe70
add esp, 4
mov ebx, 1
jmp 0x5dcaa9
xor ebx, ebx
xor ecx, ecx
mov ebp, dword [esp + 4]
test ebp, ebp
jne 0x5dca9d
jmp 0x5dca94
call fcn.005e10f0
xor ebx, ebx
test eax, eax
je 0x5dc76c
push dword [esp + 8]
push esi
push eax
mov dword [esp + 0xc], eax
call fcn.005e11f0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x5dc6b2
jmp 0x5dca94
push 1
push dword [esp + 0x24]
call fcn.005df040
add esp, 0xb0
jmp 0x5dcab1
xor ecx, ecx
jmp 0x5dca94
mov ebx, dword [esp + 8]
push ebx
push dword [esp + 4]
push edi
push ebp
call fcn.005e10d0
add esp, 0x10
xor ebx, ebx
test eax, eax
je 0x5dca89
mov edi, 6
mov eax, dword [esp + 0x18]
cmp eax, 0x29f
jg 0x5dc7cc
mov edi, 5
cmp eax, 0xef
jg 0x5dc7cc
mov edi, 4
cmp eax, 0x4f
jg 0x5dc7cc
mov dword [esp + 0x10], 1
mov edi, 3
cmp eax, 0x18
jl 0x5dc84c
push dword [esp + 8]
push dword [esp + 4]
push ebp
push ebp
push dword [esp + 0x24]
call fcn.005e0bd0
add esp, 0x14
test eax, eax
je 0x5dca89
mov dword [esp + 0x24], edi
lea eax, [edi - 1]
mov dword [esp + 0x10], eax
mov ebp, 2
nop word [eax + eax]
mov edi, dword [esp + 8]
push edi
call fcn.005db630
add esp, 4
mov dword [esp + ebp*4 + 0x24], eax
test eax, eax
je 0x5dca89
push edi
push dword [esp + 4]
push dword [esp + 0x1c]
push dword [esp + ebp*4 + 0x2c]
push eax
call fcn.005e0bd0
add esp, 0x14
test eax, eax
je 0x5dca89
mov eax, ebp
mov ecx, dword [esp + 0x10]
shr eax, cl
inc ebp
test eax, eax
je 0x5dc800
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edi, dword [esi + 4]
cmp dword [eax + edi*4 - 4], 0
js 0x5dc880
call fcn.005de990
push dword [esp + 8]
push dword [esp + 4]
push eax
mov esi, dword [esp + 0x18]
push esi
call fcn.005e10d0
add esp, 0x10
test eax, eax
jne 0x5dc953
jmp 0x5dca89
push edi
mov ebp, dword [esp + 0x10]
push ebp
call fcn.005def70
add esp, 8
test eax, eax
je 0x5dca89
mov eax, dword [esi]
xor edx, edx
sub edx, dword [eax]
mov ecx, dword [ebp]
mov dword [ecx], edx
cmp edi, 2
jl 0x5dc94c
cmp edi, 9
setb dl
mov esi, ecx
sub esi, eax
cmp esi, 0x20
setb dh
or dh, dl
mov edx, 1
jne 0x5dc8ff
lea esi, [edi - 1]
mov ebx, esi
and ebx, 0xfffffff8
lea edx, [ebx + 1]
xor ebp, ebp
pcmpeqd xmm0, xmm0
movdqu xmm1, xmmword [eax + ebp*4 + 4]
movdqu xmm2, xmmword [eax + ebp*4 + 0x14]
pxor xmm1, xmm0
pxor xmm2, xmm0
movdqu xmmword [ecx + ebp*4 + 4], xmm1
movdqu xmmword [ecx + ebp*4 + 0x14], xmm2
add ebp, 8
cmp ebx, ebp
jne 0x5dc8d4
cmp esi, ebx
je 0x5dc94c
mov ebx, edi
sub ebx, edx
mov esi, edx
and ebx, 3
je 0x5dc918
mov esi, edx
mov ebp, dword [eax + esi*4]
not ebp
mov dword [ecx + esi*4], ebp
inc esi
dec ebx
jne 0x5dc90c
sub edx, edi
cmp edx, 0xfffffffc
ja 0x5dc94c
mov edx, dword [eax + esi*4]
not edx
mov dword [ecx + esi*4], edx
mov edx, dword [eax + esi*4 + 4]
not edx
mov dword [ecx + esi*4 + 4], edx
mov edx, dword [eax + esi*4 + 8]
not edx
mov dword [ecx + esi*4 + 8], edx
mov edx, dword [eax + esi*4 + 0xc]
not edx
mov dword [ecx + esi*4 + 0xc], edx
add esi, 4
cmp edi, esi
jne 0x5dc91f
mov esi, dword [esp + 0xc]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x18]
dec edi
mov al, 1
mov dword [esp + 0x14], eax
xor ebx, ebx
lea ebp, [edi - 1]
jmp 0x5dc96f
dec ebp
sub edi, 1
jb 0x5dca63
push edi
push dword [esp + 0x20]
call fcn.005dfaa0
add esp, 8
test eax, eax
jne 0x5dc9a1
test bl, 1
je 0x5dc965
push dword [esp + 8]
push dword [esp + 4]
push esi
push esi
push esi
call fcn.005e0bd0
add esp, 0x14
test eax, eax
jne 0x5dc965
jmp 0x5dc6e7
mov dword [esp + 0x18], edi
cmp dword [esp + 0x10], 2
jb 0x5dc9e6
xor esi, esi
mov edi, 1
mov ebx, 1
test ebp, ebp
js 0x5dc9ed
push ebp
push dword [esp + 0x20]
call fcn.005dfaa0
add esp, 8
mov ecx, ebx
sub ecx, esi
mov edx, edi
shl edx, cl
or edx, 1
test eax, eax
cmovne edi, edx
cmovne esi, ebx
inc ebx
dec ebp
cmp dword [esp + 0x10], ebx
jne 0x5dc9b8
jmp 0x5dc9ed
mov edi, 1
xor esi, esi
test esi, esi
sets al
mov ecx, dword [esp + 0x14]
or cl, al
test cl, 1
mov ebp, dword [esp + 4]
mov eax, dword [esp]
jne 0x5dca29
lea ebx, [esi + 1]
push dword [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
push eax
call fcn.005e0bd0
add esp, 0x14
test eax, eax
je 0x5dcab6
dec ebx
mov eax, dword [esp]
jne 0x5dca07
and edi, 0xfffffffe
push dword [esp + 8]
push eax
push dword [esp + edi*2 + 0x30]
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.005e0bd0
add esp, 0x14
test eax, eax
je 0x5dcab6
not esi
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x18]
add edi, esi
mov bl, 1
mov esi, dword [esp + 0xc]
jns 0x5dc960
push dword [esp + 8]
mov eax, esi
mov esi, dword [esp + 4]
push esi
push eax
push dword [esp + 0x2c]
call fcn.005e1000
mov ecx, esi
add esp, 0x10
xor ebx, ebx
test eax, eax
setne bl
jmp 0x5dc717
mov ebp, dword [esp + 4]
mov ecx, dword [esp]
test ebp, ebp
jne 0x5dca9d
push ecx
call fcn.005e11a0
add esp, 4
push dword [esp + 8]
call fcn.005db560
add esp, 4
mov eax, ebx
add esp, 0xa8
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov ecx, dword [esp]
test ebp, ebp
jne 0x5dca9d
jmp 0x5dca94